// 文档 https://github.com/hooke007/MPV_lazy/wiki/4_GLSL

// MIT License

// Copyright (c) 2024 Joao Chrisostomo

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:

// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.

// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-0)
//!HOOK MAIN
//!BIND MAIN
//!SAVE conv2d_tf
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.094186895, 0.0493806, -0.076766945, 0.15635902, 0.023050485, -0.10595202, 0.059372447, -0.00021054244, 0.034995962, 0.04402674, -0.013996716, -0.012414793, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, -1.0);
    result += mat4(-0.12805994, -0.06650969, -0.051226325, 0.11432977, 0.0841977, -0.013715334, 0.10028499, -0.0024434072, 0.002582331, -0.16578543, 0.05920047, -0.02907902, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, 0.0);
    result += mat4(-0.06338032, 0.17312509, -0.046181466, 0.035654936, -0.09713337, 0.11143426, -0.06815174, -0.11757731, 0.020502597, -0.022595165, 0.028912127, -0.027824622, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, 1.0);
    result += mat4(0.08900712, -0.029124904, 0.017965846, 0.098628186, -0.078063525, -0.11920621, 0.03143873, -0.12565923, 0.10117786, -0.0047297524, 0.014736384, -0.11987099, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, -1.0);
    result += mat4(0.29073825, -0.16871443, -0.4544229, 0.06123845, 0.045525, 0.22757632, 0.18578331, 0.031699106, -0.28049773, -0.052553494, 0.21724972, -0.32940283, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, 0.0);
    result += mat4(0.100577794, 0.16394776, 0.11599343, 0.08077561, -0.12488437, 0.021298653, -0.018117337, 0.022883119, 0.031861536, -0.04299975, -0.038233843, -0.11968052, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, 1.0);
    result += mat4(-0.16707015, 0.10380911, -0.027084047, -0.05653362, 0.08535962, -0.06275414, 0.026803743, 0.0853969, -0.02434716, 0.056900404, 0.057342906, 0.066555046, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, -1.0);
    result += mat4(-0.018122043, -0.16306217, -0.05815392, 0.11011597, 0.08294937, -0.031079292, -0.04062258, -0.069308035, 0.095779985, 0.31379628, -0.03368516, -0.09965042, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, 0.0);
    result += mat4(0.045870233, -0.029639978, 0.069718435, 0.09679031, 0.044179145, -0.063753314, 0.09630522, -0.027047338, -0.048466414, -0.12611987, -0.12609392, 0.027990159, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, 1.0);
    result += vec4(-0.039269023, 0.0772524, -0.016960902, 0.0003597271);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-0)
//!HOOK MAIN
//!BIND MAIN
//!SAVE conv2d_tf1
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.07059955, 0.011468306, 0.028749043, 0.06675361, 0.0009331197, -0.015023949, -0.05875505, -0.1278894, -0.0006455785, 0.022812335, 0.04829346, 0.18285222, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, -1.0);
    result += mat4(0.02696672, 0.034273844, -0.08779737, -0.06691719, 0.045156572, -0.19179283, 0.04359321, -0.13184442, 0.19662015, -0.08636197, -0.10322335, -0.08710808, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, 0.0);
    result += mat4(0.007609929, 0.017940532, 0.07995186, 0.0017262656, -0.123710096, -0.031144092, 0.06711056, -0.051637325, 0.052185595, -0.029822098, -0.09771394, 0.07336467, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, 1.0);
    result += mat4(0.123117216, -0.115765855, 0.053992238, 0.08167079, -0.089458324, -0.22135504, -0.052723944, -0.15607244, 0.06476262, 0.034787223, 0.09571127, 0.26165757, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, -1.0);
    result += mat4(-0.09294174, 0.2722989, 0.16292663, -0.12491631, 0.12988669, -0.25514856, 0.12344725, 0.05222108, -0.1340485, 0.24014956, 0.23403914, 0.181174, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, 0.0);
    result += mat4(-0.0031723331, -0.07283167, 0.08765914, -0.19571267, -0.044136304, 0.09346683, 0.03603881, -0.0073213046, -0.0070580477, 0.008390412, 0.15586303, 0.2000526, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, 1.0);
    result += mat4(-0.009616949, 0.07182956, 0.07839472, -0.15931079, -0.08461168, -0.05248033, -0.03157345, 0.10429829, -0.18088481, -0.09311639, -0.078409724, 0.036488622, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, -1.0);
    result += mat4(-0.1599862, 0.03839418, 0.050679054, -0.18378502, 0.113603264, -0.08654021, -0.009562071, -0.09176825, 0.08562207, 0.041993253, -0.030648068, 0.21429999, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, 0.0);
    result += mat4(0.010554973, 0.07962307, 0.022823855, 0.094116636, 0.01612027, 0.16165234, 0.053422075, -0.08104965, -0.06685273, 0.09623928, 0.07194388, -0.008070807, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, 1.0);
    result += vec4(0.047728043, 0.0057775546, -0.03189381, -0.003559619);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-0)
//!HOOK MAIN
//!BIND MAIN
//!SAVE conv2d_tf2
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.08450408, 0.08323998, -0.09074173, 0.011016911, -0.051757034, -0.06781143, 0.13875182, 0.0001936555, -0.030095365, -0.037548747, -0.01674294, -0.06526075, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, -1.0);
    result += mat4(-0.12665972, 0.10260609, 0.011105966, -0.012357352, 0.17057268, -0.14096202, -0.13186368, 0.0059262086, -0.010386406, 0.10040407, 0.13283701, -0.002641646, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, 0.0);
    result += mat4(0.08867681, -0.0976661, -0.092544, 0.00548968, 0.057353184, 0.019669766, -0.061830092, 0.033458557, -0.015675828, 0.05206886, 0.009561011, -0.020943452, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, 1.0);
    result += mat4(-0.1461833, 0.23266405, 0.15181619, -0.06187873, 0.0989268, -0.054580543, 0.08763899, 0.13444613, -0.14175358, -0.06948383, -0.2094845, 0.006952168, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, -1.0);
    result += mat4(-0.0564403, 0.21045473, 0.01094507, 0.3567031, 0.24606879, -0.25154296, -0.004616934, 0.27326062, -0.0706365, 0.052175127, -0.114826255, 0.30668324, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, 0.0);
    result += mat4(-0.26180604, -0.08249959, -0.020237, 0.046642452, 0.21657763, 0.12178195, -0.14901333, -0.044329666, -0.0042564766, -0.014422042, 0.0495634, -0.020595776, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, 1.0);
    result += mat4(-0.14533786, 0.07496439, 0.13049123, -0.058505967, 0.016912505, -0.092126496, 0.133691, -0.13112465, 0.068978444, 0.1063918, -0.01944019, 0.045294583, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, -1.0);
    result += mat4(0.0019032492, 0.056749772, -0.09418959, -0.17671755, 0.04733329, -0.07787985, 0.04147953, -0.18312111, -0.14964835, 0.055839933, 0.09109841, -0.0537144, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, 0.0);
    result += mat4(0.0055809543, -0.034132224, -0.028420614, 0.017660271, 0.05141722, -0.031567212, 0.013944401, -0.11705989, 0.06397476, -0.18068339, -0.0142624965, -0.14066762, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, 1.0);
    result += vec4(-0.01541481, -0.06526146, 0.07221529, -0.102203466);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-0)
//!HOOK MAIN
//!BIND MAIN
//!SAVE conv2d_tf3
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.08749165, 0.10234826, -0.03206474, -0.16018209, 0.030856512, -0.04815332, 0.08783383, 0.053738482, -0.0058929846, 0.01617324, -0.01460333, -0.010647015, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, -1.0);
    result += mat4(0.015913025, -0.03373358, -0.017128026, 0.03270046, 0.07383997, 0.25327224, 0.049100175, 0.0097965505, 0.16553462, -0.23339204, 0.009310663, -0.09375578, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, 0.0);
    result += mat4(0.027532184, 0.075139076, -0.024197284, 0.06600434, 0.041555516, 0.04986418, -0.15287887, 0.09560088, -0.012552176, 0.097375676, 0.007080199, -0.05317125, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, 1.0);
    result += mat4(-0.0054186233, 0.10371369, -0.09752851, -0.103671774, 0.053372633, 0.031962372, -0.17051454, 0.022068858, -0.008206891, -0.086432785, -0.05987842, 0.050217204, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, -1.0);
    result += mat4(0.064001665, -0.15529254, -0.071073115, 0.23928912, -0.48286098, -0.2992946, -0.25726077, 0.11618697, 0.16556399, -0.09122177, -0.11351002, -0.08107553, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, 0.0);
    result += mat4(0.07874928, 0.046280436, -0.008784374, -0.15241168, 0.056909848, 0.046278533, -0.14129344, 0.028937904, 0.054190863, 0.18565735, -0.05036739, -0.15819924, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, 1.0);
    result += mat4(-0.04614765, 0.0025143027, 0.032459326, 0.0825499, -0.00017381248, -0.016096188, 0.0341985, 0.14535335, 0.100508526, -0.004604264, -0.08968804, -0.049662765, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, -1.0);
    result += mat4(-0.12463914, -0.11404174, -0.029459704, -0.049293183, -0.19855304, 0.16338697, 0.080002695, -0.12069874, 0.15714237, -0.096783936, 0.055105437, 0.12959565, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, 0.0);
    result += mat4(0.05824719, -0.06428309, 0.044012837, -0.05211289, -0.07105469, 0.07133889, -0.016915815, 0.010342411, -0.10429673, -0.056710705, -0.008616353, -0.047885574, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, 1.0);
    result += vec4(-0.0010520373, 0.016331825, 0.045656063, 0.025906337);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-1-ReLU)
//!HOOK MAIN
//!BIND conv2d_tf
//!BIND conv2d_tf1
//!BIND conv2d_tf2
//!BIND conv2d_tf3
//!SAVE conv2d_1_tf
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.08190843, -0.12514466, -0.09940552, 0.04955919, -0.059860114, -0.022392675, -0.022143677, 0.09013384, 0.0019834288, -0.12255581, 0.051570192, -0.027478937, 0.012159367, 0.04105902, -0.03679035, 0.041525673) * input_0(-1.0, -1.0);
    result += mat4(0.15823643, -0.0036918719, -0.09413955, 0.24536963, 0.12578966, -0.29951283, -0.029976338, -0.10822695, -0.20961764, 0.10085525, 0.15190059, -0.042594627, -0.06318972, -0.2046374, 0.017334243, 0.031108066) * input_0(-1.0, 0.0);
    result += mat4(0.10881367, -0.0036400147, -0.06899186, 0.16868171, 0.0049061403, 0.078323096, 0.037761297, 0.06044975, -0.09927368, 0.03458463, -0.0075882664, -0.13914515, 0.10672621, 0.13933992, -0.007108581, -0.001795492) * input_0(-1.0, 1.0);
    result += mat4(-0.11301279, -0.18703328, -0.13727728, -0.0027232743, -0.22256498, -0.032268535, -0.07588516, -0.04016776, -0.22914506, 0.15785569, 0.09440131, -0.016269354, -0.14595774, 0.08099024, 0.115340866, -0.15536056) * input_0(0.0, -1.0);
    result += mat4(-0.07666536, 0.25613305, -0.18484065, -0.23052232, -0.110215455, 0.4139982, 0.10729771, -0.17038721, 0.32384738, -0.38864195, -0.20930429, 0.08902552, -0.15938874, 0.20112716, -0.07693429, 0.05446801) * input_0(0.0, 0.0);
    result += mat4(-0.21978247, -0.016764143, 0.023908902, 0.18950947, -0.034704737, 0.09321737, -0.01235401, 0.13059808, -0.090991236, 0.038640495, 0.09329487, -0.06388128, -0.10522601, -0.12997249, 0.0677032, 0.06930577) * input_0(0.0, 1.0);
    result += mat4(-0.008156392, 0.08370706, -0.07227502, 0.003915909, -0.017222444, 0.1016787, -0.12872028, 0.07979654, 0.07812718, -0.007873694, 0.14329435, -0.03383847, -0.105921865, -0.13752452, 0.10154418, -0.009382704) * input_0(1.0, -1.0);
    result += mat4(0.14577435, -0.11136185, -0.17120358, -0.1497264, -0.0019766581, -0.0005901382, 0.22422893, -0.15205908, 0.14074919, -0.018993061, -0.23097192, 0.080758326, -0.04124672, 0.01024198, 0.108223744, 0.024662083) * input_0(1.0, 0.0);
    result += mat4(0.021890132, 0.08231744, -0.10028855, 0.11481948, -0.024786657, -0.105092034, -0.3555014, -0.06419644, 0.16036297, -0.13183773, 0.19035597, -0.12460749, -0.110365935, 0.02650036, -0.14678337, 0.004618064) * input_0(1.0, 1.0);
    result += mat4(-0.06461779, 0.1537344, -0.042265393, 0.19273686, -0.05979333, -0.052110698, -0.0034683144, -0.06802967, -0.08968953, -0.07105243, -0.100195296, -0.020403437, -0.0017119247, 0.16175704, 0.029514072, 0.0006621891) * input_1(-1.0, -1.0);
    result += mat4(0.16755503, -0.10382453, 0.091104455, 0.16181557, 0.0314594, 0.01402182, 0.176569, 0.11423613, 0.0032459432, 0.031748306, -0.005570748, -0.038239755, 0.0702056, -0.07756705, 0.08893313, -0.044793274) * input_1(-1.0, 0.0);
    result += mat4(-0.06383634, 0.05527868, -0.09350525, 0.09279669, -0.09077783, 0.10483828, -0.06643145, 0.020673877, -0.012521453, -0.061459273, -0.00949744, -0.017659735, 0.09598997, -0.042969204, -0.05784984, 0.09132904) * input_1(-1.0, 1.0);
    result += mat4(0.08054655, 0.09247868, 0.030174512, -0.025189202, 0.24472103, 0.0809622, 0.03532226, 0.052551072, -0.11833081, -0.049209684, 0.11400727, 0.005376714, 0.112269975, -0.09258116, 0.08158282, 0.12705225) * input_1(0.0, -1.0);
    result += mat4(0.026318984, 0.04198013, -0.17095746, 0.1877738, -0.21067843, -0.23255026, -0.060280573, -0.053808343, 0.10386321, -0.07136715, 0.04618815, -0.035349317, -0.26427913, 0.08809961, -0.055198696, 0.08571033) * input_1(0.0, 0.0);
    result += mat4(-0.069738716, 0.19308673, -0.11297177, 0.038578857, 0.10331735, 0.13358136, 0.037429303, 0.13366912, 0.016061487, -0.09816195, 0.042043168, -0.047657512, -0.16145039, 0.028427752, -0.11685399, -0.06878623) * input_1(0.0, 1.0);
    result += mat4(0.04835583, -0.12867081, 0.10726387, -0.019100338, 0.08214841, 0.08252471, 0.08114558, -0.04600473, -0.14223288, -0.05391737, -0.038988568, 0.015494358, -0.023095606, 0.0080738785, -0.025687084, 0.053245045) * input_1(1.0, -1.0);
    result += mat4(-0.003585195, 0.014126059, 0.03177928, 0.08532891, 0.07851017, 0.032015875, -0.30684936, -0.021556374, 0.08776003, 0.04197943, -0.09648488, 0.10465815, -0.116096675, -0.05968308, 0.06328212, 0.001424156) * input_1(1.0, 0.0);
    result += mat4(-0.11356893, -0.077114746, 0.26699123, 0.0035280923, -0.030635187, -0.017700309, 0.106831625, -0.08484138, -0.051102974, 0.057236716, -0.043461185, -0.035241973, -0.028107619, 0.030579193, 0.0026335816, -0.024860078) * input_1(1.0, 1.0);
    result += mat4(-0.06096541, -0.0978692, 0.030839158, -0.041738015, -0.09734225, -0.0064762468, -0.01647344, -0.12294094, -0.0033362883, -0.0019321803, 0.026192186, 0.090831876, -0.04035582, 0.036570344, 0.03304543, 0.07012781) * input_2(-1.0, -1.0);
    result += mat4(-0.1928162, 0.012357522, -0.037836403, 0.035583835, -0.059835903, -0.22043405, -0.01503654, -0.046458192, 0.12850973, 0.030184329, 0.007715104, -0.14085521, -0.04229885, -0.09709882, 0.11250061, 0.45775676) * input_2(-1.0, 0.0);
    result += mat4(0.07220292, 0.057970207, -0.072028235, 0.21015005, -0.18892294, 0.09856543, -0.040886678, -0.029820459, 0.16741544, -0.044714406, 0.19071513, 0.040822156, 0.13441601, 0.0022390403, -0.00050895114, 0.06378329) * input_2(-1.0, 1.0);
    result += mat4(0.0898416, 0.111489095, 0.049712315, 0.14797245, 0.19535837, 0.2546415, -0.07278749, 0.15553376, -2.7717491e-05, -0.05813165, -0.086985834, 0.09836673, -0.029011395, 0.01964192, 0.055389944, 0.16310503) * input_2(0.0, -1.0);
    result += mat4(0.048809562, 0.0016122385, 0.106227234, -0.14947906, 0.11447879, -0.097990066, 0.24449036, -0.09116243, 0.12310018, -0.0117329685, 0.08646574, 0.04348685, 0.028061947, 0.21070556, -0.056088496, -0.3143056) * input_2(0.0, 0.0);
    result += mat4(-0.14136356, 0.11527852, -0.09024527, 0.16616982, 0.0611456, -0.067425124, 0.20271598, 0.050920315, -0.12300872, 0.16078405, -0.01569831, -0.01714394, -0.14636467, 0.0035153134, -0.23719852, 0.053845614) * input_2(0.0, 1.0);
    result += mat4(-0.021811983, 0.025979986, -0.077983834, -0.05476678, 0.09002524, -0.051199008, 0.057659507, -0.0047092265, -0.025351735, 0.030921586, -6.876407e-05, 0.013148294, -0.046759903, 0.042538274, 0.12547652, 0.009520439) * input_2(1.0, -1.0);
    result += mat4(-0.028780902, -0.0051318184, 0.11325512, -0.07289315, 0.07447718, 0.04142141, -0.061644744, 0.0019494002, -0.014091878, -0.05244861, 0.047967356, -0.022997357, -0.012064476, -0.043898698, 0.21735747, -0.076016955) * input_2(1.0, 0.0);
    result += mat4(-0.101401575, -0.05277763, -0.19546202, 0.08376091, -0.074981235, -0.032925207, -0.21774642, -0.004236445, -0.09776216, 0.0029028147, -0.07887976, -0.06622643, -0.12171285, 0.08940679, 0.32544926, -0.04887049) * input_2(1.0, 1.0);
    result += mat4(-0.13648066, 0.021797175, -0.07320155, -0.06697547, 0.0012853811, -0.032400295, 0.004934482, -0.0117257545, -0.0143715525, 0.074592605, 0.03864864, 0.10834857, -0.0068692793, 0.19092414, 0.021869482, -0.09172627) * input_3(-1.0, -1.0);
    result += mat4(0.18404023, -0.17257397, 0.043104112, -0.108149625, 0.27987063, 0.12925884, 0.0029486779, 0.06261123, 0.033086505, -0.155735, -0.009261822, -0.097827874, -0.046593256, -0.1174744, 0.019677186, 0.07876792) * input_3(-1.0, 0.0);
    result += mat4(-0.090681605, 0.033236276, -0.0065631424, 0.10483613, 0.09577708, 0.058413114, 0.13474333, -0.051654253, -0.01673897, 0.017070487, 0.035682976, -0.021722136, -0.03480593, -0.021566214, -0.021772912, 0.061957113) * input_3(-1.0, 1.0);
    result += mat4(-1.7156524e-05, -0.11404689, 0.15192129, -0.26024768, -0.082611635, -0.378597, 0.046176046, -0.17921835, -0.1464372, -0.14754865, 0.002423379, 0.00852083, 0.16317508, 0.20169362, -0.0066049225, 0.10075502) * input_3(0.0, -1.0);
    result += mat4(-0.115755826, -0.084234476, -0.11356463, 0.08426329, -0.100701675, -0.15899445, 0.06778621, 0.31902665, -0.025111657, -0.21473226, -0.0013918834, -0.06785912, 0.00858327, 0.22132437, -0.07178142, -0.3198483) * input_3(0.0, 0.0);
    result += mat4(-0.035056062, 0.11042196, 0.12752227, -0.11290036, -0.10816789, -0.1063189, 0.12776946, -0.03222513, -0.119502544, 0.068144016, 0.038473923, 0.06253313, 0.0871594, -0.23179942, -0.005937005, -0.07296247) * input_3(0.0, 1.0);
    result += mat4(-0.09249693, 0.0020471644, -0.0055505405, -0.05621572, 0.0029007867, 0.0856537, 0.13854145, -0.058698185, -0.11754578, -0.016456783, -0.032717746, 0.069515236, 0.07082637, -0.062240344, 0.030516926, -0.041437995) * input_3(1.0, -1.0);
    result += mat4(0.06700776, -0.088483974, 0.0631002, 0.07117845, -0.031187767, 0.0034420898, -0.20904359, 0.007410901, -0.12236937, 0.07404412, -0.09899925, 0.01890225, 0.17197616, 0.07377738, 0.41653228, 0.025480468) * input_3(1.0, 0.0);
    result += mat4(0.23697665, -0.019155992, 0.14122951, 0.18586783, -0.07371092, 0.03846765, 0.063648194, 0.036955085, 0.088125035, -0.10773636, -0.11003924, 0.066962756, 0.047345247, 0.081792094, 0.19465989, -0.036984924) * input_3(1.0, 1.0);
    result += vec4(0.2202955, 0.13684162, -0.022057844, 0.18914242);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-1-ReLU)
//!HOOK MAIN
//!BIND conv2d_tf
//!BIND conv2d_tf1
//!BIND conv2d_tf2
//!BIND conv2d_tf3
//!SAVE conv2d_1_tf1
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.06555977, 0.024306271, -0.099047944, 0.028201122, 0.03791271, -0.024671, -0.032789156, 0.0010348969, 0.2740414, 0.013561165, -0.09715687, 0.17730306, 0.014383344, -0.0340854, 0.060652856, 0.06830201) * input_0(-1.0, -1.0);
    result += mat4(-0.19693308, -0.008142096, 0.0545527, -0.16926974, 0.09901023, -0.01618077, 0.12128034, -0.20636915, 0.028008047, -0.1633295, 0.1286109, 0.07630969, 0.06938815, -0.06811195, -0.009368961, -0.1585998) * input_0(-1.0, 0.0);
    result += mat4(-0.0720792, 0.0020944558, -0.022695716, -0.14142676, 0.12603863, 0.100464135, -0.15093869, 0.058735937, 0.13141201, -0.023298925, -0.20047055, -0.0115750525, -0.07131849, 0.05865241, -0.041161537, -0.11287995) * input_0(-1.0, 1.0);
    result += mat4(-0.021627769, -0.017439011, 0.05634757, 0.02476552, -0.045730997, -0.02086183, -0.016534295, 0.1839436, 0.39602235, -0.059310388, -0.0004631819, -0.03270708, 0.18491882, -0.015090159, -0.103375785, -0.015926363) * input_0(0.0, -1.0);
    result += mat4(-0.054975435, 0.06594519, 0.12199539, 0.26266468, 0.044916704, 0.25606626, -0.115753084, -0.35811037, -0.10119493, 0.054282796, -0.20323518, -0.78578794, 0.15602657, 0.16163354, -0.19773342, 0.023646254) * input_0(0.0, 0.0);
    result += mat4(0.023078006, 0.1005254, 0.06508201, 0.18329176, -0.053416103, -0.011441962, 0.12062837, 0.01825776, -0.04117871, -0.06397624, -0.013100772, -0.025220394, -0.026707018, -0.024659315, 0.020828396, -0.12250944) * input_0(0.0, 1.0);
    result += mat4(0.33509317, -0.3064593, 0.0057001254, 0.028050665, 0.1749242, -0.109437525, 0.0458198, 0.05950344, 0.09430405, -0.13922428, 0.08424765, 0.042291496, 0.009930886, -0.26112834, -0.040420234, 0.0035519914) * input_0(1.0, -1.0);
    result += mat4(-0.028704109, -0.22363064, -0.039296582, -0.3476485, 0.011176361, -0.04818883, -0.12208229, 0.084357396, 0.058934584, 0.26409435, 0.02240057, -0.006065788, -0.21047036, -0.012049562, -0.09372111, -0.024072096) * input_0(1.0, 0.0);
    result += mat4(0.040305577, -0.23183417, -0.10076449, 0.08713676, 0.032313477, 0.25153852, -0.20986909, 0.0802399, 0.021752063, 0.15104847, -0.113090806, -0.22253329, 0.01892121, -0.049585067, 0.0647374, 0.18417075) * input_0(1.0, 1.0);
    result += mat4(-0.09608166, 0.024686102, 0.059958152, 0.03856559, 0.24665008, 0.041325666, -0.0071941474, -0.023614574, -0.01112756, 0.047391053, 0.02572077, -0.026481818, -0.058027625, 0.071632534, -0.028532442, 0.0063214153) * input_1(-1.0, -1.0);
    result += mat4(-0.05516775, -0.1344795, -0.030643744, -0.25266108, 0.09076174, -0.070927374, -0.045505833, -0.24241863, -0.17346235, -0.04294562, 0.0619653, 0.022841496, 0.09196323, 0.1377083, -0.07630185, -0.22975405) * input_1(-1.0, 0.0);
    result += mat4(0.0063371626, 0.007764354, 0.011850388, 0.12211277, 0.095559224, -0.06202874, -0.1379736, 0.11669882, 0.06459802, 0.048758924, 0.0668074, -0.011265764, -0.0033324924, -0.04331032, -0.023600483, -0.123152174) * input_1(-1.0, 1.0);
    result += mat4(0.128208, -0.020196512, -0.042031784, -0.02454306, 0.14380303, -0.10407174, 0.054792404, -0.13734573, 0.11031992, -0.054601975, 0.009880372, -0.08904271, -0.10730177, -0.106926575, -0.044456374, -0.12317964) * input_1(0.0, -1.0);
    result += mat4(-0.11518101, 0.11387755, -0.11694206, -0.027547328, 0.03808578, -0.040050168, -0.03483044, 0.14021018, -0.077714495, 0.018947888, -0.06344204, -0.06451873, -0.10432118, 0.07724873, -0.018813103, -0.019987224) * input_1(0.0, 0.0);
    result += mat4(-0.17803971, 0.11270844, -0.02218623, 0.108409494, 0.094822146, -0.10674082, 0.2752028, 0.018249009, 0.02101048, -0.047513794, -0.19442879, -0.023417912, 0.042067662, 0.012740634, -0.022004653, -0.010440934) * input_1(0.0, 1.0);
    result += mat4(-0.19821166, 0.16853525, -0.10478287, -0.038217176, 0.19248092, 0.060434908, 0.020947302, 0.009249332, -0.092389524, -0.12174215, -0.072472125, 0.027002338, -0.06854034, 0.3840948, 0.002527659, 0.06812503) * input_1(1.0, -1.0);
    result += mat4(0.02982659, 0.1567055, 0.05092234, 0.1167753, 0.10726507, -0.015606889, 0.19593142, -0.01628632, 0.024484022, -0.3542419, 0.034156356, 0.055488113, 0.23816605, -0.0099554835, 0.117779896, 0.24912538) * input_1(1.0, 0.0);
    result += mat4(0.06438907, -0.025187809, -0.07405028, -0.040085174, 0.095283665, 0.12000523, 0.03555584, 0.0311587, -0.058487803, -0.02365905, 0.026081745, 0.060139332, -0.030355116, -0.037731323, -0.20140506, -0.0052805413) * input_1(1.0, 1.0);
    result += mat4(-0.02251431, 0.07228485, -0.073993966, -0.027263625, -0.08169991, 0.061558317, -0.099432014, -0.011594869, -0.01885626, -0.0039710454, 0.033633113, -0.086037576, -0.09277485, 0.038562834, 0.09123427, -0.113256894) * input_2(-1.0, -1.0);
    result += mat4(0.07807508, -0.010447915, 0.02207068, -0.022884252, -0.08094221, -0.006376283, 0.054962363, 0.14508066, 0.17479813, 0.11203152, 0.038240347, -0.26915446, 0.15566164, 0.15583435, -0.09753777, -0.0669857) * input_2(-1.0, 0.0);
    result += mat4(-0.016786447, -0.05185454, 0.012303076, -0.109285496, 0.097969756, -0.024363084, -0.019279609, 0.07774194, 0.14856294, 0.06469689, -0.00788009, 0.024720674, -0.03366859, -0.13349853, -0.005186, -0.025765343) * input_2(-1.0, 1.0);
    result += mat4(-0.016128821, -0.09412518, -0.05329189, -0.15323465, -0.15551555, -0.025709983, 0.10807238, -0.08283335, 0.041178416, -0.031023161, -0.042432025, 0.01364932, -0.25813046, 0.07173206, -0.059308358, 0.11034562) * input_2(0.0, -1.0);
    result += mat4(0.21598205, -0.05479063, 0.045642674, 0.16966772, -0.0062215924, -0.12895247, 0.16370782, 0.057977404, -0.17138855, -0.06142722, 0.10623136, 0.035685908, 0.18873729, 0.00094854244, 0.008327415, -0.106691316) * input_2(0.0, 0.0);
    result += mat4(-0.06718398, 0.18251544, 0.26546723, 0.083580494, 0.0015547447, 0.064053565, -0.06711478, 0.07564934, -0.07429486, -0.044891518, -0.2006441, 0.17528108, 0.031435948, 0.13823693, 0.14895518, 0.10780779) * input_2(0.0, 1.0);
    result += mat4(-0.17608312, 0.16122767, -0.15450315, 0.056023777, 0.02996394, 0.49301365, -0.13920137, -0.090548545, 0.09527831, 0.10082092, 0.009951161, 0.026418546, 0.14385508, 0.039360557, 0.05981998, -0.011270485) * input_2(1.0, -1.0);
    result += mat4(0.009001603, -0.21229367, 0.09500542, 0.029782098, 0.030485462, -0.29433393, -0.015317203, 0.06556035, -0.15057947, 0.10782152, 0.07314064, -0.010016987, 0.1640039, -0.30302468, -0.012640863, 0.027452959) * input_2(1.0, 0.0);
    result += mat4(-0.010780366, 0.10926729, 0.16437045, 0.08269254, 0.0315933, -0.011616311, 0.11429088, 0.08456821, 0.050980326, -0.21785246, -0.032513496, 0.10341454, 0.0025369362, 0.060257092, -0.15281633, 0.0714743) * input_2(1.0, 1.0);
    result += mat4(0.11756236, 0.09763626, 0.0687179, 0.07909677, 0.036732838, 0.041799184, -0.01327659, -0.1607853, -0.08466006, 0.039453506, -0.075140305, -0.06578741, -0.06364821, 0.05669521, 0.06922846, -0.12793854) * input_3(-1.0, -1.0);
    result += mat4(0.17435746, 0.0080495635, -0.060306042, -0.16617836, 0.14030406, 0.061624255, -0.20715217, -0.118921004, 0.0065147406, 0.096873455, -0.00069574243, 0.050157975, -0.057633568, -0.11779471, 0.037354108, -0.089932986) * input_3(-1.0, 0.0);
    result += mat4(-0.06752245, 0.022733875, 0.002147042, -0.042714562, 0.026737077, 0.02021472, -0.046354275, -0.006409708, 0.13181052, 0.039530776, -0.16810666, 0.009820335, 0.020949392, 0.055495773, -0.070631966, 0.0045728227) * input_3(-1.0, 1.0);
    result += mat4(0.1753844, -0.3497315, -0.12582996, -0.021366848, 0.3599195, 0.11532438, -0.07115177, -0.16418873, -0.17754722, -0.01116105, -0.029632939, 0.014735123, -0.24862215, 0.0063238805, -0.059589833, -0.18836185) * input_3(0.0, -1.0);
    result += mat4(-0.21372327, 0.2550958, -0.37530845, 0.2590155, 0.1225183, 0.099805124, -0.37519756, 0.2560715, -0.041505873, -0.0784141, 0.04295846, 0.005445629, 0.23081265, 0.34190547, 0.1295909, 0.11566364) * input_3(0.0, 0.0);
    result += mat4(0.035540693, -0.06365207, 0.48764032, 0.0016717341, 0.015987702, -0.09566288, -0.28315014, 0.12408723, 0.012097824, -0.053580567, 0.22647423, -0.04850504, -0.042955194, -0.12922682, -0.13568045, -0.06424029) * input_3(0.0, 1.0);
    result += mat4(-0.26705286, -0.17207307, -0.026965972, -0.06784717, -0.06687101, -0.17091124, 0.14640231, 0.018172914, 0.00041040804, 0.13495404, 0.0476325, -0.08923488, -0.04328657, 0.35956222, -0.028025031, -0.05752445) * input_3(1.0, -1.0);
    result += mat4(-0.20242211, -0.070788346, -0.09410209, -0.21488786, -0.066246346, 0.18565644, 0.03135935, -0.0142544, 0.097879075, 0.3209083, -0.08385506, 0.09682049, 0.066273734, -0.2051909, 0.08332814, 0.007260672) * input_3(1.0, 0.0);
    result += mat4(-0.01042322, -0.107769065, 0.45245153, -0.08468447, 0.00064654066, -0.17893328, 0.24384765, 0.12646216, -0.037933294, 0.11796222, 0.25323227, 0.053123165, 0.088423766, -0.299585, 0.09508479, -0.10789492) * input_3(1.0, 1.0);
    result += vec4(0.123630814, 0.044864256, 0.08921814, 0.03736702);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-1-ReLU)
//!HOOK MAIN
//!BIND conv2d_tf
//!BIND conv2d_tf1
//!BIND conv2d_tf2
//!BIND conv2d_tf3
//!SAVE conv2d_1_tf2
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.0841109, 0.17239049, 0.02055798, -0.035171885, -0.08882925, 0.0044908994, 0.006550757, 0.10253471, 0.021048196, -0.17573869, -0.24018395, 0.21919619, 0.07022767, -0.0016200959, -0.04046992, 0.11046741) * input_0(-1.0, -1.0);
    result += mat4(0.09495172, 0.18628837, -0.069914766, -0.20523326, -0.13423565, 0.22394373, -0.48869205, -0.08601709, -0.09330061, -0.24376099, -0.043555535, -0.06781329, -0.17364891, -0.024590027, 0.17427237, -0.051087342) * input_0(-1.0, 0.0);
    result += mat4(0.0025910991, -0.004349526, 0.25331393, -0.23612095, 0.040821925, -0.04952603, -0.1347259, -0.17801282, -0.08077276, 0.11335055, -0.48878372, 0.36078772, 0.17396905, 0.14555651, -0.26101136, 0.22572176) * input_0(-1.0, 1.0);
    result += mat4(0.14990494, 0.17559311, 0.05660655, 0.009354377, 0.057151355, 0.08432831, -0.047685385, -0.10558803, 0.1858749, -0.2841261, -0.087020285, -0.07684027, 0.11542032, -0.032830235, -0.08630766, -0.030630833) * input_0(0.0, -1.0);
    result += mat4(0.65109557, 0.070039116, -0.014232412, -0.032883283, -0.2326375, -0.11635753, 0.2344776, -0.16766569, -0.32545486, 0.061480615, 0.22433296, 0.03068503, -0.19399542, -0.5300289, -0.05533314, 0.0243292) * input_0(0.0, 0.0);
    result += mat4(0.08995746, -0.047854327, 0.14115308, -0.28905958, -0.19223395, 0.0036808443, 0.00966186, -0.1987444, 0.110002674, -0.134248, -0.28066066, 0.19296828, 0.09980495, -0.06341267, -0.23160897, 0.22302207) * input_0(0.0, 1.0);
    result += mat4(0.048797514, 0.07486286, 0.1366591, -0.0095933955, -0.021944229, 0.0009375042, 0.14797945, 0.015248802, -0.16043341, 0.055780016, 0.0053808936, 0.027829248, -0.05473535, 0.015330954, -0.022226566, -0.03527658) * input_0(1.0, -1.0);
    result += mat4(-0.23260242, 0.14305739, 0.009330875, -0.03942906, -0.032490253, 0.051310837, -0.2557024, -0.0188414, 0.068852, -0.002214015, -0.021409672, 0.36331576, -0.0050195777, -0.06726164, -0.055674344, 0.31227994) * input_0(1.0, 0.0);
    result += mat4(-0.06178802, 0.05493516, 0.08483925, -0.080785096, -0.04883511, -0.03469988, 0.18382306, 0.013680799, -0.026680188, -0.00041181737, -0.09037854, 0.13225317, 0.038359344, -0.031164687, 0.15571411, -0.076779604) * input_0(1.0, 1.0);
    result += mat4(0.03702727, -0.07941507, 0.12175499, 0.07909856, 0.12411893, -0.10617545, 0.22545746, 0.19655064, 0.08450896, -0.013878086, -0.83120304, -0.027938683, 0.092464425, -0.030849805, 0.30740243, 0.118352115) * input_1(-1.0, -1.0);
    result += mat4(-0.23846813, 0.3658501, -0.64826787, 0.16728856, -0.2137034, -0.004586266, 0.15164906, 0.058153376, 0.020036515, 0.16406077, -0.2490748, 0.025435735, -0.10819594, 0.031964034, 0.45798686, 0.046758164) * input_1(-1.0, 0.0);
    result += mat4(-0.041466054, -0.18771265, 0.32369614, -0.3764079, 0.09001801, -0.07688574, 0.3445241, -0.14091855, -0.03908834, -0.07590965, -0.06437187, 0.04867435, -0.034775224, -0.018263806, -0.16935988, 0.10677075) * input_1(-1.0, 1.0);
    result += mat4(-0.10899397, 0.23496458, 0.027971057, 0.0178844, -0.07832042, 0.04990967, 0.11331604, 0.15438056, -0.110810496, -0.049969766, -0.07967622, 0.077280626, -0.26962572, 0.006831973, -0.03664258, 0.0025020838) * input_1(0.0, -1.0);
    result += mat4(-0.14651087, -0.039241336, -0.030782335, -0.032607067, 0.31083164, 0.034689173, 0.10438327, 0.164516, 0.13006665, 0.17795914, 0.050688483, 0.18476075, -0.042938314, -0.15167537, 0.083825216, -0.08839235) * input_1(0.0, 0.0);
    result += mat4(0.04809833, 0.12901443, -0.09602529, -0.2575575, -0.116944626, -0.002254287, -0.20892525, -0.22438997, 0.022852883, 0.040674094, -0.091406174, 0.072966345, 0.01623697, 0.029356332, 0.07599292, -0.054596145) * input_1(0.0, 1.0);
    result += mat4(-0.04037133, 0.053622432, -0.19177534, -0.108549066, -0.007522221, 0.10602089, 0.055490416, -0.042473793, 0.10204122, -0.05284562, -0.095809795, -0.038965184, 0.038262393, 0.036529746, -0.08116413, -0.07054877) * input_1(1.0, -1.0);
    result += mat4(0.16935799, 0.015566315, 0.19586869, 0.05201203, -0.035164107, 0.04630773, -0.048250325, 0.10570055, 0.0016208078, 0.031342387, 0.11079615, -0.13846885, 0.021599453, -0.17817962, -0.13875732, 0.09570017) * input_1(1.0, 0.0);
    result += mat4(-0.061300956, 0.0091480445, -0.114930585, -0.070397906, 0.013837946, 0.032224927, 0.04703943, -0.097260915, 0.13472722, -0.057304017, -0.013671536, 0.08220396, 0.10117317, -0.08044627, -0.1321119, 0.18257682) * input_1(1.0, 1.0);
    result += mat4(0.054880396, 0.0007340786, 0.39362028, 0.061271094, -0.056262974, -0.09212534, 0.33376032, -0.04872714, -0.02779136, 0.048671875, -0.33359444, 0.16861373, -0.0048098275, 0.12103838, 0.49044374, 0.1489684) * input_2(-1.0, -1.0);
    result += mat4(0.13246946, -0.20346317, 0.7599039, -0.16109309, 0.16203558, -0.02239506, 0.31654653, -0.00079408864, 0.050664164, 0.065537594, 0.21051268, 0.20676409, -0.1297282, -0.091142826, 0.19447395, 0.066684164) * input_2(-1.0, 0.0);
    result += mat4(-0.07370133, 0.07333072, -0.092777215, -0.19724457, 0.074617125, -0.08192329, -0.15381722, 0.02811307, -0.011275111, 0.054560814, -0.050532456, 0.10381502, 0.002516198, -0.07200514, 0.4738369, -0.06448632) * input_2(-1.0, 1.0);
    result += mat4(-0.31499758, 0.11217306, -0.08478751, 0.098944046, -0.0046421876, 0.055175085, -0.08315418, 0.03449049, -0.23447487, 0.0882938, 0.16990091, 0.08030647, 0.029123751, -0.12030783, -0.023072064, -0.028444039) * input_2(0.0, -1.0);
    result += mat4(0.5104369, 0.21173598, -0.11358668, 0.21551351, 0.3841912, -0.08864339, 0.0021741404, -0.037087776, -0.08050197, -0.08235462, -0.101117834, -0.12185635, 0.4252181, 0.4237161, -0.0957931, 0.27131456) * input_2(0.0, 0.0);
    result += mat4(-0.08223919, -0.049290027, 0.062284265, -0.12595005, 0.17623056, 0.021334415, -0.019770911, 0.24536435, -0.038077243, -0.05454045, 0.056262873, 0.15854523, -0.017259447, -0.023189595, -0.025485525, -0.24346556) * input_2(0.0, 1.0);
    result += mat4(0.12871863, -0.14445043, -0.100010246, -0.1902079, -0.07274959, -0.06924436, -0.020550886, -0.07816896, 0.15507694, 0.09234926, -0.15127979, -0.07189845, 0.04158937, 0.024734907, -0.0152823115, 0.016889434) * input_2(1.0, -1.0);
    result += mat4(0.069262, 0.049713068, 0.095513254, -0.10416264, 0.05409493, -0.08246804, -0.037575494, -0.14337486, -0.104465, 0.08796002, 0.038166992, 0.02090882, -0.105618306, 0.076719195, -0.051122375, 0.2107589) * input_2(1.0, 0.0);
    result += mat4(-0.01559322, 0.07653712, 0.17987032, -0.14861694, 0.121349834, 0.016038535, -0.14677167, -0.096991144, 0.01371112, 0.027515585, 0.12815148, 0.11610224, 0.0075155552, 0.00071463815, 0.1193555, -0.107271105) * input_2(1.0, 1.0);
    result += mat4(0.20809913, -0.1018031, 0.395829, 0.032697238, 0.017097637, 0.14095008, 0.27579007, -0.029185021, -0.004496284, 0.0022611183, 0.6266312, 0.009298472, -0.026911417, 0.013809484, 0.29566652, 0.09115021) * input_3(-1.0, -1.0);
    result += mat4(-0.11895176, 0.017195232, -0.51769257, -0.048815362, -0.075162664, -0.1273604, -0.12771113, 0.270462, -0.021662474, -0.09701836, 0.25025788, 0.07792134, 0.006593098, -0.16382694, 0.3794871, 0.07323076) * input_3(-1.0, 0.0);
    result += mat4(0.0943421, 0.06640418, 0.24295016, 0.29647806, -0.07294966, 0.021268664, 0.14655074, 0.037937075, -0.14899333, -0.08835623, 0.21504666, 0.06380092, -0.056762323, -0.04735613, 0.10602282, 0.32243794) * input_3(-1.0, 1.0);
    result += mat4(-0.08389497, 0.10813096, -0.023985628, 0.09091129, 0.1259566, -0.24691851, -0.095521934, 0.08964203, -0.021260187, -0.093305595, -0.019872079, -0.08831859, -0.12529951, -0.09045075, 0.2309075, -0.04653021) * input_3(0.0, -1.0);
    result += mat4(0.020042242, -0.3449776, -0.03791961, -0.26943704, -0.30693135, -0.30599648, -0.12635416, -0.20214821, -0.168532, -0.059019867, -0.17473115, 0.021879632, 0.05177444, 0.2872044, -0.064678006, 0.29054537) * input_3(0.0, 0.0);
    result += mat4(0.16440038, 0.16456187, 0.15647295, 0.14311685, 0.08300693, -0.18325515, 0.011887586, 0.5341855, -0.029517442, 0.011190927, 0.034376953, -0.005492008, 0.16043574, -0.09899122, 0.18405308, 0.15789162) * input_3(0.0, 1.0);
    result += mat4(0.059191078, 0.0572667, -0.04125629, -0.14107646, 0.007993401, -0.04889026, 0.112839095, -0.041126903, -0.07256564, -0.09295161, -0.00041346738, -0.052272387, -0.04108536, -0.04831832, -0.041842088, -0.045722246) * input_3(1.0, -1.0);
    result += mat4(-0.03292363, 0.038220286, 0.31604213, 0.034800146, 0.013945097, -0.029088903, -0.2419397, -0.033934496, -0.15181547, 0.054878857, 0.026359117, 0.11174612, 0.13926044, 0.13257015, -0.09095046, -0.20265229) * input_3(1.0, 0.0);
    result += mat4(-0.057166506, 0.11385157, 0.08918992, -0.0021281084, 0.12459299, -0.05390289, 0.2075895, 0.047611676, 0.0936188, -0.09249033, -0.121428795, -0.0012953565, -0.021595001, -0.0069760354, -0.06911977, 0.15384868) * input_3(1.0, 1.0);
    result += vec4(-0.6247902, 0.10144692, 0.06397483, -0.028222067);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-1-ReLU)
//!HOOK MAIN
//!BIND conv2d_tf
//!BIND conv2d_tf1
//!BIND conv2d_tf2
//!BIND conv2d_tf3
//!SAVE conv2d_1_tf3
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.11719682, 0.008941263, 0.068100795, 0.022687119, -0.07443645, -0.07922003, 0.013700395, 0.10593691, 0.033916418, 0.25376818, 0.07047213, 0.11105867, 0.047820304, 0.16075541, 0.04664897, -0.10238985) * input_0(-1.0, -1.0);
    result += mat4(-0.012582965, 0.03557479, 0.07692084, 0.024866087, -0.048048217, 0.23711951, 0.07477388, 0.14758617, -0.1335385, -0.048914634, 0.008172442, 0.070404656, 0.0021291552, -0.10329502, -0.010393575, -0.111053385) * input_0(-1.0, 0.0);
    result += mat4(0.002657854, 0.06556822, -0.18631333, -0.06373353, 0.023410525, 2.9536901e-05, 0.17044525, 0.08268237, 0.022342818, 0.022877637, 0.639714, 0.0055086156, -0.03410684, -0.06898198, 0.33624744, 0.0052094264) * input_0(-1.0, 1.0);
    result += mat4(-0.063152015, -0.2596488, 0.023782313, -0.09082009, 0.119056895, -0.29519072, -0.015496131, -0.07790464, -0.10786153, 0.28849873, 0.04886306, -0.14655262, -0.23467219, 0.015317032, 0.01638178, 0.20651397) * input_0(0.0, -1.0);
    result += mat4(0.09222778, 0.09386432, -0.13947456, 0.23629224, 0.010945642, 0.17701736, 0.074194774, -0.013477489, -0.06508089, -0.11869774, -0.023313252, 0.047043912, -0.053571038, 0.0046136933, 0.070124015, -0.0060132733) * input_0(0.0, 0.0);
    result += mat4(-0.042679388, 0.0666551, -0.23644072, 0.14319612, 0.071167774, 0.095322266, -0.53218216, -0.10597173, -0.08826928, 0.07744945, 0.3665592, 0.03600069, 0.12562095, 0.029322326, 0.2622897, -0.016736345) * input_0(0.0, 1.0);
    result += mat4(-0.2839319, 0.019457597, -0.06725319, 0.027677346, -0.09597826, 0.42896932, 0.039058704, 0.24848458, -0.11165616, -0.020559698, -0.044129886, 0.029885741, -0.005346946, 0.091350794, -0.06597813, -0.032810945) * input_0(1.0, -1.0);
    result += mat4(-0.30744952, 0.105359755, -0.103226595, -0.043542787, 0.067537144, 0.15252438, -0.15522549, -0.08134876, 0.010446679, 0.18931738, 0.014999975, 0.074424796, 0.14930518, -0.0077264593, 0.20898324, -0.07118353) * input_0(1.0, 0.0);
    result += mat4(0.039599985, 0.0062668393, -0.063044004, -0.115482144, 0.031190326, -0.23406282, 0.08669232, -0.04826728, -0.11644173, 0.1473203, 0.04858361, -0.010877381, 0.103121154, -0.07409152, 0.028892865, -0.08110192) * input_0(1.0, 1.0);
    result += mat4(-0.08998946, 0.07445036, -0.053827595, -0.07228466, -0.03498943, 0.14180052, 0.017486045, 0.012703187, 0.08236105, -0.010044173, 0.021141015, 0.043315202, -0.020827617, 0.045423638, -0.009503673, -0.08325171) * input_1(-1.0, -1.0);
    result += mat4(0.089067474, 0.1300509, 0.07278458, -0.080531284, 0.015736701, 0.20298296, -0.10961879, 0.12017566, 0.04654118, 0.01698575, 0.03718567, 0.038190138, 0.06962838, -0.093766965, -0.012050845, -0.10764042) * input_1(-1.0, 0.0);
    result += mat4(0.08984302, 0.04550752, -0.2282517, -0.059525803, 0.07946036, 0.0833269, 0.017267548, -0.059468962, 0.00979278, 0.013839155, -0.05279329, -0.08632758, 0.041140947, 0.013972209, 0.038277175, -0.008751183) * input_1(-1.0, 1.0);
    result += mat4(-0.13009392, -0.118243724, 0.0769739, -0.18860991, 0.012126667, 0.070558414, 0.08513509, 0.064442135, 0.17591842, 0.1024494, -0.04720827, -0.06798402, -0.10226567, 0.12771761, 0.03774158, 0.09059272) * input_1(0.0, -1.0);
    result += mat4(-0.021845235, -0.088212736, -0.03416206, -0.016050119, 0.1420057, -0.076912515, -0.024636662, 0.06887872, 0.08128809, -0.15055186, 0.01773343, 0.09567856, -0.06460415, -0.04148022, -0.036299996, -0.012147125) * input_1(0.0, 0.0);
    result += mat4(-0.11902334, 0.08385959, -0.24957646, 0.04930335, -0.038227092, 0.1723222, -0.3587492, 0.024233477, -0.10130558, -0.029304674, 0.05005367, -0.009187588, 0.14783202, -0.021470755, 0.32908216, -0.03427935) * input_1(0.0, 1.0);
    result += mat4(-0.055001445, -0.2622142, -0.07873164, -0.042223617, 0.07108184, 0.08438735, 0.05345634, 0.013747906, 0.012728399, 0.10905361, -0.10507185, -0.078102835, 0.1082111, -0.24610628, -0.00909734, -0.18784471) * input_1(1.0, -1.0);
    result += mat4(0.15280664, -0.3075865, 0.12485554, 0.1719404, -0.17225242, 0.14479232, -0.066560335, -0.12122233, -0.07375219, 0.074658945, -0.0451, 0.058264293, 0.026315112, 0.1816821, -0.13062482, 0.059682354) * input_1(1.0, 0.0);
    result += mat4(0.0631346, 0.049085323, -0.09361928, 0.03998125, -0.03353389, -0.08068308, -0.09747054, 0.05389034, 0.04125006, 0.054880597, 0.061777648, -0.059129223, -0.0497304, 0.03303119, 0.12364064, -0.059041835) * input_1(1.0, 1.0);
    result += mat4(0.039659053, 0.13806826, 0.043613806, 0.039281446, 0.026023947, 0.060700864, -0.026820395, -0.046668388, -0.056354083, -0.04180662, 0.021716174, 0.009657231, -0.043629076, 0.07250842, -0.041512795, -0.026326882) * input_2(-1.0, -1.0);
    result += mat4(0.067401074, 0.23770027, -0.40050328, 0.0134302825, -0.043740768, 0.100377806, 0.040198263, 0.16399914, 0.006038999, 0.009884178, -0.13001762, -0.018072825, 0.065153696, -0.0006861462, 0.06995034, -0.30637056) * input_2(-1.0, 0.0);
    result += mat4(0.06824956, 0.015646992, 0.07008984, -0.094482966, 0.02747924, 0.05226711, 0.052814882, 0.09641859, -0.021067178, 0.041394673, 0.22582771, -0.10262507, 0.020288661, 0.031186601, -0.020125257, -0.30432194) * input_2(-1.0, 1.0);
    result += mat4(0.07669313, -0.16905817, -0.100225665, 0.028423775, 0.20654786, -0.20043819, 0.14377397, -0.15904166, 0.010463327, 0.11848743, 0.0059478106, 0.022193644, -0.05296832, -0.1856219, -0.049108353, -0.011945074) * input_2(0.0, -1.0);
    result += mat4(0.02643401, -0.10185454, -0.013858186, 0.21346807, -0.0074389777, 0.029664371, -0.31267905, 0.019564733, 0.124196984, -0.0849072, 0.06616421, -0.23209926, 0.16030417, -0.403715, 0.4334986, 0.30564958) * input_2(0.0, 0.0);
    result += mat4(-0.09620549, -0.04506532, -0.40812448, -0.041838054, -0.20675121, -0.03778463, 0.14957866, -0.04458446, 0.14013627, -0.06733335, 0.255456, -0.08827581, 0.005972753, 0.039086066, -0.3728133, 0.04157483) * input_2(0.0, 1.0);
    result += mat4(0.10000383, 0.030721655, 0.022152612, -0.036044832, -0.16927771, -0.19611943, -0.073201366, 0.012424163, 0.013756727, -0.2188127, 0.074870765, -0.04906056, 0.04349574, 0.06568928, 0.055431202, -0.17235185) * input_2(1.0, -1.0);
    result += mat4(-0.027621727, -0.22222482, -0.14584644, -0.058946203, -0.028393365, 0.055583224, -0.1528328, 0.04503213, 0.14541699, 0.0014120183, 0.024028776, -0.10488532, -0.22042431, 0.22601707, -0.06552438, -0.060676906) * input_2(1.0, 0.0);
    result += mat4(0.06637757, -0.15094109, 0.06678399, -0.08911521, 0.13983984, 0.023042982, -0.043558106, -0.0056914794, -0.03501944, 0.042670306, 0.103606224, -0.024567258, -0.108933404, 0.023988651, 0.02641814, 0.013390792) * input_2(1.0, 1.0);
    result += mat4(-0.03395328, 0.08014282, -0.07390932, 0.1593418, -0.026112245, -0.074749306, 0.031392377, -0.0017282357, 0.011683186, -0.04648392, -0.0075397408, -0.11921616, 0.011751194, 0.3082637, 0.007617077, -0.048588004) * input_3(-1.0, -1.0);
    result += mat4(0.14731519, 0.16783306, 0.05423192, -0.075787194, 0.055522144, -0.02953854, -0.063270964, 0.033683684, -0.044772223, 0.094634466, 0.050362103, 0.13709706, -0.1266837, -0.058311976, -0.18223199, -0.26844466) * input_3(-1.0, 0.0);
    result += mat4(-0.042042855, -0.050626036, 0.08780573, 0.06177988, 0.046904538, 0.086761534, 0.09368078, 0.006145562, 0.15978724, 0.076212324, -0.088006556, 0.0012434588, 0.06345072, 0.066389844, 0.12829268, 0.14230077) * input_3(-1.0, 1.0);
    result += mat4(0.0074437647, 0.34880698, 0.10485129, 0.1928545, 0.06845978, 0.6324774, 0.0040293303, 0.24867098, -0.015130465, 0.005003878, -0.05763975, 0.0126076, -0.11178204, -0.48061603, 0.13898982, -0.0870754) * input_3(0.0, -1.0);
    result += mat4(-0.19221959, -0.3592907, -0.26471704, -0.12187368, -0.15570948, -0.0018573418, -0.1715423, -0.1493769, -0.13814083, 0.21919365, -0.03652839, -0.019665519, 0.21703687, -0.12341715, 0.28252783, 0.24230736) * input_3(0.0, 0.0);
    result += mat4(0.074952476, 0.0072443592, 0.19101995, -0.040468656, -0.029298179, -0.028013146, 0.3057083, -0.04041523, -0.11439125, -0.032453142, -0.07985162, -0.040088583, 0.0017893113, 0.018943477, 0.38914946, -0.1891003) * input_3(0.0, 1.0);
    result += mat4(0.11190288, -0.03708791, -0.028414268, 0.025539838, 0.0972885, 0.39645544, -0.063578345, 0.10782233, -0.02645999, -0.020823678, 0.055375844, -0.05991818, 0.029877618, 0.11659384, -0.101907454, -0.01595476) * input_3(1.0, -1.0);
    result += mat4(-0.15034552, -0.2649505, 0.27368128, 0.00543072, 0.03710431, -0.16937515, 0.1315767, 0.109531984, -0.15965259, -0.101836376, 0.055034824, -0.12839155, 0.090973385, 0.2156141, -0.0974094, -0.031209582) * input_3(1.0, 0.0);
    result += mat4(0.035548914, -7.315882e-05, -0.11068033, 0.05976646, -0.14098696, 0.1474174, -0.0033281527, -0.0086820815, -0.11325091, -0.05361605, -0.12791489, 0.06576886, -0.04083574, 0.058955807, -0.095169365, 0.015371629) * input_3(1.0, 1.0);
    result += vec4(0.024713626, -0.032525286, -0.0061285817, -0.0011499966);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-2-ReLU)
//!HOOK MAIN
//!BIND conv2d_1_tf
//!BIND conv2d_1_tf1
//!BIND conv2d_1_tf2
//!BIND conv2d_1_tf3
//!SAVE conv2d_2_tf
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_1_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_1_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_1_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_1_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.032927923, 0.09745345, -0.04318147, -0.044670008, -0.008200341, -0.03565224, -0.033383742, 0.15204577, -0.13316375, 0.10000506, 0.029786443, 0.47712547, -0.018718524, -0.002972902, 0.024891993, 0.10286078) * input_0(-1.0, -1.0);
    result += mat4(0.03402162, -0.17637649, 0.082042664, -0.076612614, -0.03873288, -0.041022163, -0.06648245, -0.046469748, -0.07123073, 0.19358575, 0.06490624, 0.27900374, 0.05606698, -0.06476007, -0.007875477, 0.011095302) * input_0(-1.0, 0.0);
    result += mat4(0.0048340703, 0.10213523, -0.07670998, -0.00563963, 0.041802704, 0.1334357, -0.019886216, -0.06995104, -0.06489015, -0.118452534, 0.012730373, 0.013766069, 0.008411851, 0.0938827, 0.004014083, 0.03829178) * input_0(-1.0, 1.0);
    result += mat4(-0.08198862, -0.17299241, 0.08151485, 0.19058916, -0.07116118, 0.08617294, 0.008950113, -0.015823007, 0.0069082314, -0.019320322, 0.0006071423, -0.0044797077, 0.059617557, 0.13963693, 0.036510076, -0.056793384) * input_0(0.0, -1.0);
    result += mat4(0.19788902, -0.19590805, -0.028266007, -0.2569832, 0.02661566, 0.081317276, 0.58756214, 0.049448825, 0.1941407, 0.038689498, 0.045031786, -0.3443886, -0.18230826, -0.1498911, 0.0061968514, 0.005988608) * input_0(0.0, 0.0);
    result += mat4(0.093793765, 0.08975311, 0.011879829, -0.0485678, -0.012023756, -0.17341383, 0.03323191, 0.017654827, -0.007715027, -0.001416066, -0.0028133169, -0.03332349, -0.02389302, -0.23112145, 0.033398055, 0.07878428) * input_0(0.0, 1.0);
    result += mat4(0.0450795, 0.0071259257, -0.03575154, -0.11753922, 0.07697469, -0.047790673, 0.0007120193, -0.22447689, -0.030248052, 0.022596143, 0.0024089715, 0.015708443, 0.13514215, 0.08177644, 0.010608873, -0.32569048) * input_0(1.0, -1.0);
    result += mat4(-0.076654345, 0.07127761, -0.04491923, 0.11221503, -0.22404772, 0.04940731, 0.05411871, 0.2603247, -0.005683494, 0.035685055, 0.013175911, 0.016632961, 0.33478016, 0.042521987, 0.0049747936, -0.22973543) * input_0(1.0, 0.0);
    result += mat4(-0.02298175, 0.24926488, 0.008040235, 0.0438154, -0.015868338, -0.049664743, 0.027029974, 0.021630406, 0.011846335, 0.01330739, -0.0016517367, -0.019995946, -0.0020862478, -0.22649387, -0.027410736, 0.03954831) * input_0(1.0, 1.0);
    result += mat4(-0.021054097, 0.021993395, -0.048234347, 0.2600368, 0.091291584, 0.053403288, -0.007855857, 0.087583825, -0.23423514, -0.3921471, 0.056027092, -0.3610286, -0.07942535, 0.006597394, -0.009347533, -0.024488062) * input_1(-1.0, -1.0);
    result += mat4(0.09458919, -0.2665944, 0.00084225996, -0.023293993, -0.0122391535, 0.0629435, 0.018413333, -0.17690636, -0.037772126, 0.12560727, -0.03251038, 0.022218212, 0.040997226, -0.03205279, -0.0047015096, -0.018455282) * input_1(-1.0, 0.0);
    result += mat4(-0.021528918, 0.055319335, 0.025945652, 0.08636765, -0.02462488, -0.07484196, 0.036755424, 0.0030563131, -0.0151936775, 0.092522085, -0.021244982, -0.010885722, 0.016429087, 0.06096612, -0.010627952, 0.074786864) * input_1(-1.0, 1.0);
    result += mat4(0.04525858, -0.02003901, 0.013314963, 0.08826684, 0.023592442, -0.10439532, 0.0032611531, 0.08590759, 0.34520537, -0.2731742, -0.046627123, 0.1821488, 0.029331759, 0.025367849, -0.024940211, 0.0048212474) * input_1(0.0, -1.0);
    result += mat4(-0.26215506, 0.16847135, -0.0047731316, -0.62342095, 0.03703433, -0.2727464, 0.015496238, -0.18935743, 0.12183095, 0.30547103, -0.012646954, -0.0333373, -0.090236366, -0.32996964, 0.022104649, -0.2573713) * input_1(0.0, 0.0);
    result += mat4(-0.34162036, 0.18975155, -0.025989829, -0.021125406, 0.0807401, 0.14283167, -0.0029984796, -0.046065424, 0.058788694, -0.06652488, 0.00034017567, 0.006808583, 0.008041669, 0.2056974, 0.027610162, -0.026300685) * input_1(0.0, 1.0);
    result += mat4(0.011769284, -0.01730738, 0.01080803, -0.028082425, -0.041631594, 0.073935926, -0.018314822, 0.08595606, 0.12006656, -0.06561645, 0.024349194, 0.04192333, -0.005518015, 0.017360182, 0.005053958, 0.22746906) * input_1(1.0, -1.0);
    result += mat4(0.3058882, -0.14163333, 0.0015769522, 0.21750693, -0.07395952, 0.061728228, -0.012353251, 0.17120151, 0.019871665, 0.18088545, -0.019296665, -0.08953065, 0.11109473, -0.07769703, 0.029343529, 0.013558624) * input_1(1.0, 0.0);
    result += mat4(0.012267833, -0.13493338, -0.027754046, -0.15034223, -0.026781898, 0.017977279, 0.0038033647, 0.031481713, -0.016922534, 0.014544633, -0.008823369, 0.019757079, 0.06652881, 0.07689717, -0.026050987, -0.009750118) * input_1(1.0, 1.0);
    result += mat4(0.048634678, 0.07577907, 0.051430333, -0.2706842, -0.0067263306, -0.083370626, -0.021038782, -0.070342146, 0.04162412, 0.018067498, -0.081563994, 0.038500298, -0.023893062, 0.010754131, -0.019763613, 0.13646129) * input_2(-1.0, -1.0);
    result += mat4(-0.16855359, 0.09603443, 0.040983137, -0.07566467, 0.07702541, -0.037992176, 0.0064905407, -0.1125241, 0.03964526, -0.01951934, 0.03779441, -0.06368275, -0.017958328, -0.16965239, -0.00473532, 0.1911978) * input_2(-1.0, 0.0);
    result += mat4(0.1389468, -0.076098874, -0.04888281, 0.17972748, 0.028099628, 0.08783293, -0.019827932, 0.03227397, 0.0083323205, -0.005968011, -3.1998185e-05, 0.06775953, 0.0729871, -0.27123117, -0.043111827, 0.12001549) * input_2(-1.0, 1.0);
    result += mat4(0.15494981, -0.13197756, 0.019848278, 0.23890065, 0.09208579, -0.013530608, -0.068809204, -0.03129079, -0.20134203, 0.19566631, 0.026997361, -0.058448426, 0.19681965, 0.14998169, -0.014092029, -0.10020947) * input_2(0.0, -1.0);
    result += mat4(0.052043304, -0.2733571, 0.036534876, -0.74341065, 0.20234324, -0.17017832, -0.52209544, -0.1764377, -0.04463283, -0.24351169, -0.36532077, -0.15638147, -0.008912863, 0.011998414, -0.023972522, -0.16170314) * input_2(0.0, 0.0);
    result += mat4(-0.00069910294, 0.42132914, 0.06640469, -0.26146173, -0.072928414, 0.1767578, 0.08739236, -0.046912454, 0.119980074, 0.14069404, 0.09344755, -0.12148599, 0.07466781, -0.01288499, -0.015466305, -0.038134675) * input_2(0.0, 1.0);
    result += mat4(-0.06268758, -0.14782359, -0.013306019, 0.15496549, -0.17957212, -0.067448504, 0.026753854, 0.22283666, -1.7208256, -0.61606103, -0.054010384, -0.16419461, 0.16293609, -0.09973474, 0.046718832, -0.03209015) * input_2(1.0, -1.0);
    result += mat4(0.00026261457, -0.04069125, -0.026994012, 0.589281, -0.28042674, 0.13039795, 0.04899749, 0.36258262, 0.95033205, 0.1596082, 0.5597547, 1.8595, 0.18811041, -0.25981027, 0.02894526, -0.03247727) * input_2(1.0, 0.0);
    result += mat4(0.01295933, 0.056804452, -0.08778415, -0.037924025, 0.014059493, -0.10862005, 0.04354164, 0.030991828, -0.6694594, -0.83159834, -0.033562407, -0.4849187, -0.004060595, -0.18070184, 0.015301178, 0.099869296) * input_2(1.0, 1.0);
    result += mat4(-0.0013734342, -0.021728812, 0.06909404, -0.12698059, -0.039148096, 0.05854318, -0.0015107495, -0.23290442, 0.0592105, 0.0378627, -0.0051665176, -0.019608634, 0.06738904, 0.0142442435, 0.0043512965, -0.07410607) * input_3(-1.0, -1.0);
    result += mat4(-0.06155621, 0.06154719, 0.1637159, -0.0015043487, -0.049014553, 0.078202166, -0.040836494, -0.009682481, -0.04759499, 0.1075363, 0.0509728, -0.14527078, -0.043025244, -0.04675489, 0.050984837, -0.123235516) * input_3(-1.0, 0.0);
    result += mat4(0.027519608, -0.043971483, 0.00684417, 0.044790443, -0.03708675, -0.08794051, -0.051838167, -0.069480516, -0.09005035, 0.16572145, 0.023655508, -0.13851677, 0.045043398, 0.04042692, -0.013965339, -0.016063388) * input_3(-1.0, 1.0);
    result += mat4(0.045121115, 0.03493982, -0.03836292, 0.18004468, 0.01046744, 0.03358159, -0.014077995, -0.17080657, -0.1918576, 0.020131407, 0.023758331, -0.027010705, 0.052299827, -0.044402987, 0.034746718, 0.25116843) * input_3(0.0, -1.0);
    result += mat4(0.30562392, -0.2016522, -0.010397141, -0.4833681, -0.15983275, -0.05529711, 0.0006827293, -0.15754616, 0.129737, -1.6619751, 0.052400645, 0.11706434, 0.15309963, 0.06687068, 0.09688555, -0.021497948) * input_3(0.0, 0.0);
    result += mat4(0.09301937, 0.11380763, -0.052862328, -0.1615814, 0.20669727, -0.15621084, 0.0012494391, -0.2306159, -0.0048409156, 0.052975666, 0.025721436, -0.014560391, 0.18728374, 0.27754435, 0.029458962, 0.12934758) * input_3(0.0, 1.0);
    result += mat4(-0.06036739, -0.042031467, 0.036497496, 0.0127043715, -0.04452775, 0.02215272, 0.0050060614, -0.12522955, 0.0054716975, 0.19505306, -0.032260124, -0.118246235, -0.020896962, -0.020980136, 0.037441626, 0.124217436) * input_3(1.0, -1.0);
    result += mat4(-0.06613723, 0.1089421, 0.0032118433, 0.19414723, -0.015096326, 0.06849146, -0.0074411407, -0.11047432, -0.24534728, 0.09968738, 0.023983879, 0.06512161, -0.08236147, -0.10961008, 0.051030077, -0.024001824) * input_3(1.0, 0.0);
    result += mat4(-0.06701526, -0.0126038855, 0.018699963, -0.0037020226, -0.09415497, 0.031030076, 0.0006694531, 0.08919359, 0.014279312, 0.07815349, 0.0023212384, 0.007042862, -0.007359493, 0.0022915627, 0.000246052, 0.26730487) * input_3(1.0, 1.0);
    result += vec4(-0.018278813, 0.0696832, 0.20627707, 0.09449802);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-2-ReLU)
//!HOOK MAIN
//!BIND conv2d_1_tf
//!BIND conv2d_1_tf1
//!BIND conv2d_1_tf2
//!BIND conv2d_1_tf3
//!SAVE conv2d_2_tf1
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_1_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_1_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_1_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_1_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.08512999, 0.0075650117, -0.08360297, -0.05559583, -0.0065906104, 0.024896672, -0.08068362, 0.015802702, 0.104834005, 0.02721273, -0.14201365, 0.30022562, -0.05103519, -0.04020643, -0.07448956, 0.0027201278) * input_0(-1.0, -1.0);
    result += mat4(0.027052153, -0.16339563, 0.013582174, 0.027646096, 0.032437555, -0.011088876, -0.022434603, -0.042091087, -0.015563538, -0.09715083, -0.040029146, 0.11022209, -0.018984195, 0.03262608, -0.061339583, -0.036160853) * input_0(-1.0, 0.0);
    result += mat4(-0.03086371, 0.10240169, 0.120884895, -0.03490701, 0.13552709, 0.053301375, 0.04067622, -0.032874513, 0.075667344, 0.07918115, -0.035365216, 0.029088, 0.029428294, 0.05965081, 0.027444232, 0.0058834543) * input_0(-1.0, 1.0);
    result += mat4(0.035566807, 0.063039616, 0.12811166, 0.16665876, 0.034257993, 0.014699422, 0.0019911535, -0.021426223, 0.061963554, 0.019357461, -0.059259906, 0.015215847, 0.013591889, -0.06004266, -0.028321972, 0.061835084) * input_0(0.0, -1.0);
    result += mat4(-0.067734525, 0.20796537, 0.009846678, 0.2800083, -0.34419024, -0.05000429, -0.061603874, -0.093529716, -0.033712003, 0.06850431, 0.13419385, -0.045547083, -0.033850178, -0.028436398, -0.1402293, -0.017664732) * input_0(0.0, 0.0);
    result += mat4(0.17275776, -0.011090168, 0.07192797, -0.17194387, -0.12819754, 0.005280516, -0.0459205, 0.02591969, 0.020119743, -0.016383797, -0.041778352, 0.09324795, 0.035435207, 0.116698645, 0.02349487, 0.09152567) * input_0(0.0, 1.0);
    result += mat4(-0.07942765, 0.01595246, 0.1881224, -0.19147834, -0.0036963897, -0.023193644, 0.1590727, 0.113129824, 0.010875693, 0.020758059, -0.0061449786, 0.009156148, 0.051733036, -0.012338776, 0.23934636, -0.15987961) * input_0(1.0, -1.0);
    result += mat4(0.024977684, -0.058621105, -0.29746106, 0.1559496, -0.044826213, 0.1540484, -0.10865449, 0.0686527, 0.0075641717, 0.019721527, -0.018714823, 0.025672423, 0.070820205, 0.03852728, 0.1497025, -0.08315334) * input_0(1.0, 0.0);
    result += mat4(0.08160962, 0.06792762, 0.011155523, 0.024217332, -0.0043241186, 0.1674815, -0.034469493, -0.04217775, -0.00095256505, -0.009953269, -0.02654938, 0.006095907, -0.0437235, -0.16781875, -0.12639087, -0.08653765) * input_0(1.0, 1.0);
    result += mat4(0.026212107, -0.006530065, -0.073039256, -0.13554944, 0.049734525, 0.020652464, -0.0002715282, 0.06275598, 0.72009015, -0.17457138, -0.4429526, 0.41559252, 0.04317553, 0.01737717, -0.06267473, -0.046242904) * input_1(-1.0, -1.0);
    result += mat4(0.09931588, -0.03367103, -0.1982831, -0.108729266, 0.22160934, -0.11965059, -0.12299792, 0.1505926, 0.0050224946, 0.18113929, 0.09401595, -0.012823613, 0.016572356, 0.07931367, 0.06441653, 0.034627512) * input_1(-1.0, 0.0);
    result += mat4(0.012835877, 0.0118728625, -0.015596595, 0.003983144, -0.023332888, 0.14328308, 0.12677889, 0.024623083, 0.020926537, -0.040384732, -0.04197136, 0.021971595, -0.14757445, -0.03852168, 0.07850079, -0.0035926022) * input_1(-1.0, 1.0);
    result += mat4(-0.033235144, -0.07022363, -0.0044732424, 0.19356573, 0.017570732, 0.01955842, 0.09058201, -0.073272444, 0.22411087, -0.12397527, 0.0724715, -0.21266165, -0.073362075, 0.033137273, -0.15849105, 0.0011115033) * input_1(0.0, -1.0);
    result += mat4(-0.05056354, 0.020628862, 0.18564929, 0.14824532, -0.11584799, 0.11072051, 0.008729057, 0.015976885, 0.01404932, 0.16750744, 0.10295129, 0.056753196, 0.12138373, -0.31236947, -0.11883085, 0.17270494) * input_1(0.0, 0.0);
    result += mat4(0.09219871, -0.05510719, -0.323696, 0.29015142, 0.01890864, -0.035002865, -0.008907018, 0.07963458, -0.012864859, 0.010250209, 0.035089538, 0.02042288, 0.11183948, 0.18934101, 0.1622486, -0.03186735) * input_1(0.0, 1.0);
    result += mat4(-0.07558305, -0.03712148, 0.012001877, -0.088355675, 0.029288419, -0.0012050658, -0.03256798, 0.0113524, 0.023717694, 0.005010527, -0.1207755, 0.030006744, -0.036238186, -0.0266221, 0.121498555, -0.075615615) * input_1(1.0, -1.0);
    result += mat4(-0.12893297, -0.11913535, 0.034676813, -0.054895766, 0.035403393, 0.0008299009, -0.057108205, -0.07303224, 0.03271053, -0.007073649, 0.018041803, -0.029679956, 0.00472905, 0.04344618, -0.07904537, 0.011384416) * input_1(1.0, 0.0);
    result += mat4(-0.09085028, -0.16381127, 0.10241313, -0.045133263, 0.0022860526, -0.0084500015, -0.0023353647, -0.0024164359, 0.01108255, 0.0057634003, -0.020362422, -0.059922155, 0.059262883, 0.023711242, 0.047255985, -0.036512073) * input_1(1.0, 1.0);
    result += mat4(0.25049442, 0.025411667, 0.39292055, -0.0005641748, 0.06481041, 0.018355431, -0.0065682977, -0.09984124, -0.020289686, 0.011376976, 0.0371997, -0.044151694, -0.06929637, 0.00019433611, 0.08923913, 0.07508441) * input_2(-1.0, -1.0);
    result += mat4(0.052386563, 0.33883822, 0.14468227, 0.12398601, 0.017815383, 0.060974523, 0.11630064, -0.025598433, -0.0070456374, -0.015608467, 0.07876749, -0.06988192, -0.21712448, -0.119460344, -0.0005920539, 0.09462505) * input_2(-1.0, 0.0);
    result += mat4(-0.12264024, -0.11055981, 0.07018746, 0.05416607, 0.042449184, -0.042404696, 0.036015257, 0.09126517, -8.778332e-05, 0.030330164, -0.046981785, 0.08265311, -0.13272864, -0.12842847, -0.012818105, -0.026513228) * input_2(-1.0, 1.0);
    result += mat4(-0.12210366, -0.058032803, -0.77739924, 0.11929598, -0.0008106185, 0.019633835, -0.284703, -0.16496423, 0.05251763, -0.00475175, -0.31577927, 0.056478206, -0.08130195, 0.31520396, 0.9595621, -0.0625034) * input_2(0.0, -1.0);
    result += mat4(-0.003700085, -0.34450558, 0.030318653, -0.05770757, 0.06287697, -0.10666969, 0.09451078, -0.22711636, -0.04833206, 0.085014604, 0.011229176, -0.053696383, -0.17152607, -0.016081857, 0.20573175, -0.02274218) * input_2(0.0, 0.0);
    result += mat4(0.38960895, 0.4858607, 0.18716091, -0.006607182, -0.17941874, 0.11934332, 0.054207616, 0.06084538, 0.005530707, -0.013124711, 0.062508024, -0.013071229, -0.021837492, -0.0006933162, 0.05035968, 0.023454702) * input_2(0.0, 1.0);
    result += mat4(0.023643432, 0.0924088, -0.26124874, 0.088462114, 0.008648497, -0.024567239, -0.121647134, 0.13777035, 0.9656134, -0.04025105, 0.28157416, -0.52970725, -0.07286713, 0.029537365, 0.4938967, -0.0947619) * input_2(1.0, -1.0);
    result += mat4(0.11448832, -0.06389708, -0.010433817, 0.0006750205, -0.014461515, -0.14216886, -0.042370304, 0.13152604, -0.36908585, 0.4590041, -0.8869948, 0.2932767, -0.04608535, -0.043235134, 0.10323261, 0.062897004) * input_2(1.0, 0.0);
    result += mat4(0.033753414, -0.015042716, 0.061324954, -0.11049924, -0.07351507, -0.0041834316, 0.037117556, -0.06891171, 0.6764309, -0.02251411, -0.39366293, -1.1975291, -0.06156809, -0.09202726, -0.05074413, -0.027815586) * input_2(1.0, 1.0);
    result += mat4(-0.036894184, 0.002722332, -0.09932767, 0.002627547, 0.032841787, 0.059565794, -0.033586297, -0.017169248, 0.07441468, -0.04324491, -0.04783888, 0.055481475, -0.03128047, -0.00524534, 0.15010406, 0.070894435) * input_3(-1.0, -1.0);
    result += mat4(-0.12990484, -0.06964487, 0.013804285, 0.044969264, 0.017124102, 0.102386884, 0.008363991, 0.02492777, 0.1160408, 0.07553018, -0.052460168, -0.01569589, 0.000677657, -0.027088895, 0.014742931, 0.03052255) * input_3(-1.0, 0.0);
    result += mat4(0.10887054, -0.008080036, 0.0069605703, -0.056913216, 0.018936653, -0.053674538, -0.123850755, -0.039408512, 0.041768067, 0.0553744, -0.03702596, -0.01283386, -0.12012952, 0.010455762, -0.08496898, -0.010252609) * input_3(-1.0, 1.0);
    result += mat4(0.04916286, 0.009010643, -0.1480742, -0.14474517, 0.08971628, 0.020507142, -0.074737735, -0.079041325, 0.13987753, 0.010590983, -0.6312564, 0.13634592, -0.13136803, -0.052939568, -0.003260193, 0.07445096) * input_3(0.0, -1.0);
    result += mat4(-0.01465573, -0.059250392, 0.33981568, -0.19672032, 0.19813263, 0.17366023, 0.025167705, -0.1635497, -0.2388423, 0.0055960696, -0.11502841, 0.11546041, 0.037144482, -0.102961965, 0.07133316, -0.023678122) * input_3(0.0, 0.0);
    result += mat4(-0.061848264, 0.008697719, 0.107194714, 0.07831433, 0.025183214, 0.05139368, 0.032065257, -0.045325864, 0.059397828, 0.021925705, -0.07891794, 0.005565503, 0.06643704, 0.2045397, 0.19343416, 0.038007714) * input_3(0.0, 1.0);
    result += mat4(0.0013865283, -0.03352575, -0.12024694, 0.14335243, 0.0041229227, 0.013225949, -0.009849654, 0.020154351, 0.021742329, -0.06709544, -0.27253217, -0.030281909, -0.061902825, 0.00465842, -0.07108677, 0.084445104) * input_3(1.0, -1.0);
    result += mat4(0.08315222, 0.024060009, 0.037798394, 0.05193136, 0.04313319, 0.06687422, 0.006979082, 0.0075989114, 0.02978471, 0.023035677, -0.020035356, -0.047477532, 0.004003082, 0.056534488, 0.018119013, 0.09316541) * input_3(1.0, 0.0);
    result += mat4(-0.022116572, 0.027624987, -0.07652224, 0.052451927, 0.037675627, 0.005750332, -0.14743644, 0.069240294, -0.008966526, 0.03595138, 0.04032307, 0.023986664, -0.007947771, 0.0974761, 0.10247028, -0.017669622) * input_3(1.0, 1.0);
    result += vec4(0.112282805, 0.041261766, 0.041866776, 0.033315305);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-2-ReLU)
//!HOOK MAIN
//!BIND conv2d_1_tf
//!BIND conv2d_1_tf1
//!BIND conv2d_1_tf2
//!BIND conv2d_1_tf3
//!SAVE conv2d_2_tf2
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_1_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_1_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_1_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_1_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.056782823, 0.13705699, -0.0007654599, 0.053903945, -0.043239698, 0.01507523, -0.026944403, -0.012564291, 0.029456904, -0.12619068, 0.040952697, -0.18757026, 0.0038511255, -0.008298553, 0.017571516, -0.019847628) * input_0(-1.0, -1.0);
    result += mat4(0.025852736, 0.09407493, -0.09299423, -0.022585262, 0.012373023, 0.003262096, -0.024229849, 0.0030571877, 0.055629574, -0.08922489, 0.32726958, -0.102223456, -0.0068030762, -0.008000844, -0.022674212, 0.026396533) * input_0(-1.0, 0.0);
    result += mat4(-0.04491606, -0.029299438, 0.022252789, -0.07674037, 0.020778522, 0.03906383, -0.005112286, 0.015251032, 0.051454704, 0.052790295, -0.10993865, 0.08701558, -0.0032232136, 0.011864012, 0.05971852, -0.008315383) * input_0(-1.0, 1.0);
    result += mat4(-0.011708469, -0.09784644, 0.027486166, -0.038018767, -0.12811914, -0.08592855, 0.05763937, -0.036634814, 0.07135302, 0.016273702, -0.010738121, 0.16893674, 0.113596894, -0.07653323, 0.0024044379, -0.21789376) * input_0(0.0, -1.0);
    result += mat4(0.002188511, -0.21321388, 0.22128041, -0.08609139, 0.3728701, 0.01566041, -0.04713685, 0.17585011, 0.11168787, 0.04590863, 0.053974587, 0.10373508, -0.075430594, 0.18621969, 0.20585905, -0.47046682) * input_0(0.0, 0.0);
    result += mat4(0.017114984, 0.19569504, 0.06417636, 0.15030022, 0.0789251, 0.02868472, -0.076327756, -0.004321909, -0.010089035, -0.010212376, 0.026130715, 0.059058264, -0.06670209, 0.027496329, -0.17217548, 0.06821158) * input_0(0.0, 1.0);
    result += mat4(0.012037479, -0.013626431, -0.08407371, 0.06116385, 0.08663579, 0.02981563, 0.04474959, 0.035301134, -0.018608065, -0.035208043, 0.010364835, 0.0012019573, 0.038107093, 0.029934885, 0.06340616, 0.07161935) * input_0(1.0, -1.0);
    result += mat4(-0.02542927, -0.08375891, 0.052874852, 0.0003517322, -0.10468915, -0.12137331, 0.07100868, -0.122614466, 0.02730609, -0.017500516, 0.035638507, 0.008591086, 0.043803193, 0.10624635, -0.03044918, 0.35540405) * input_0(1.0, 0.0);
    result += mat4(-0.022971202, 0.030352268, 0.0017592458, 0.049836267, 0.06187835, -0.030373463, -0.0028303496, -0.12153045, 0.0031494212, 0.008838287, 0.015271797, 0.016054267, -0.035584435, 0.021840358, -0.11467413, 0.13082303) * input_0(1.0, 1.0);
    result += mat4(0.002743817, -0.03921035, -0.019344268, 0.03592115, 0.027136823, -0.15671885, 0.018395888, -0.0791544, 0.028255427, -0.2086979, 0.30034608, -0.030227015, -0.0099656135, 0.022071443, -0.006637879, 0.07584491) * input_1(-1.0, -1.0);
    result += mat4(0.033969373, -0.16759647, -0.09819831, 0.05309383, 0.047671944, -0.32525983, 0.3216001, -0.4845151, -0.12568462, -0.014628907, 0.09300099, -0.004722364, -0.039656255, 0.13991986, -0.08638132, 0.12019956) * input_1(-1.0, 0.0);
    result += mat4(0.07445063, -0.037045013, -0.0008894053, 0.09599072, 0.0816156, 0.13437185, -0.0839908, 0.06367124, -0.022823112, -0.0007571035, 0.021909956, 0.02118768, -0.031776574, -0.05731716, 0.020650728, 0.02711999) * input_1(-1.0, 1.0);
    result += mat4(0.029685928, -0.050826855, -0.026713407, 0.041001048, -0.034958366, 0.09243958, -0.05979019, -0.048283264, -0.10441324, -0.07821159, 0.02472127, -0.43413654, 0.017655263, 0.05606935, -0.1218776, 0.06389765) * input_1(0.0, -1.0);
    result += mat4(-0.007995376, 0.03570622, -0.0057864864, -0.4486046, 0.01374757, 0.21020922, -0.17578612, -0.11889539, -0.02150222, 0.023720805, 0.16275191, -0.009269706, 0.042676304, -0.25475562, 0.104148686, -0.057019327) * input_1(0.0, 0.0);
    result += mat4(-0.04139464, -0.17781776, 0.31422493, -0.25283593, 0.020058505, -0.010490936, -3.3739805e-05, 0.046491757, -0.024766175, 0.024783516, -0.038702358, -0.010040893, -0.022255452, 0.025688218, 0.23865137, -0.022111936) * input_1(0.0, 1.0);
    result += mat4(0.026876004, -0.0013865627, -0.03517092, 0.08588533, -0.011053962, -0.036809444, 0.016461678, 0.04800087, 0.0314805, 0.15224157, -0.01073226, -0.08064068, -0.011064855, -0.055539522, -0.02421149, 0.020176899) * input_1(1.0, -1.0);
    result += mat4(-0.019162185, 0.021312203, -0.02085915, -0.2165305, -0.07484227, 3.2818847e-05, 0.036013465, -0.095497236, 0.025026068, -0.015990723, 0.069581896, -0.045346223, -0.026533151, 0.07806121, 0.02711208, -0.31866872) * input_1(1.0, 0.0);
    result += mat4(-0.019964091, 0.09000514, 0.09465307, -0.22319068, 0.015413651, 0.006320921, -0.01881333, -0.0016683667, 0.018603086, 0.0027084413, -0.0072073084, -0.0065875235, 0.024184402, 0.05719677, -0.124377996, 0.06421416) * input_1(1.0, 1.0);
    result += mat4(0.11135242, -0.17839006, -0.03379803, 0.023153936, 0.045350343, 0.09141953, -0.060472928, 0.1067909, -0.054400574, -0.0618407, 0.07998708, -0.0026564507, -0.08959769, -0.08869539, 0.047653995, 0.020724406) * input_2(-1.0, -1.0);
    result += mat4(-0.08628952, 0.47968653, 0.08259471, 0.036563057, 0.0074564414, 0.03856986, -0.11739645, 0.22231813, 0.06865136, 0.07998877, -0.11135697, 0.08534123, -0.058376748, 0.0058431937, -0.059600823, 0.0075368416) * input_2(-1.0, 0.0);
    result += mat4(-0.021136535, -0.17012842, -0.05315451, 0.15218176, -0.05371003, 0.021608248, 0.07171706, 0.04846602, 0.012336141, -0.02378381, 0.015584938, 0.070548184, -0.052841473, -0.014763339, -0.07392543, -0.024101084) * input_2(-1.0, 1.0);
    result += mat4(-0.11405048, 0.3507948, -0.18882261, 0.18907408, 0.0033449738, -0.05940319, -0.09296272, -0.011521709, -0.2782205, 0.06585043, -0.026167842, 0.1487256, 0.14896636, -0.13502505, -0.058182303, 0.1729309) * input_2(0.0, -1.0);
    result += mat4(0.059796806, -0.26549083, -0.063163385, 0.06985015, 0.2936531, 0.161982, -0.08913317, 0.14907233, -0.11761409, 0.051484954, 0.051555626, 0.04413526, 0.017763905, -0.15437698, -0.13257387, -0.25323927) * input_2(0.0, 0.0);
    result += mat4(0.017259018, -0.03260768, 0.4260482, -0.05025849, 0.04978305, -0.2331214, 0.14800368, -0.107240885, 0.116426796, 0.054347668, -0.12472403, 0.09588738, -0.013153869, 0.013365853, -0.11140953, 0.04831095) * input_2(0.0, 1.0);
    result += mat4(0.036882814, -0.10161333, -0.1373123, 0.1613172, -0.049878716, -0.04387335, -0.019077381, -0.17310554, -0.04740355, -1.2581748, -0.18319793, -0.5449311, 0.027366692, -0.0072271996, 0.018175747, 0.028151823) * input_2(1.0, -1.0);
    result += mat4(-0.069522925, -0.02229626, -0.08799752, -0.5418942, 0.037269134, -0.015947644, 0.07487678, -0.27059576, -0.69842154, -1.1673437, 0.24917762, 1.5046339, 0.06317031, 0.056576952, -0.18900146, 0.011155117) * input_2(1.0, 0.0);
    result += mat4(0.053045437, -0.04306354, -0.040531527, -0.05499834, 0.064938776, -0.040233962, -0.013371337, -0.08705502, -0.48966324, -0.41212827, 0.11566351, 0.03583053, 0.011805596, -0.06476728, -0.07100123, 0.013219223) * input_2(1.0, 1.0);
    result += mat4(0.023817547, 0.0034502202, -0.004131724, -0.009119886, -0.0064601204, 0.1480021, 0.01524654, -0.02557686, 0.030478446, -0.051361583, 0.056611154, -0.057921354, -0.0123390565, 0.041036233, 0.08383813, 0.008039417) * input_3(-1.0, -1.0);
    result += mat4(-0.015599565, -0.14897166, 0.10245234, -0.110712476, -0.03301886, 0.2716241, -0.07361539, 0.097873576, 0.029293561, 0.14189427, 0.08311222, 0.02707595, -0.0024715865, 0.06936351, -0.0067562843, -0.037095904) * input_3(-1.0, 0.0);
    result += mat4(0.07309437, 0.023572493, -0.029628024, -0.034956157, -0.013489108, 0.082045294, -0.12239882, -0.05382887, 0.043036, -0.018552251, 0.028309913, 0.014306247, -0.05943559, -0.017512115, 0.05454732, 0.021017447) * input_3(-1.0, 1.0);
    result += mat4(-0.047794685, 0.018785223, -0.0021872986, 0.025921606, -0.024151852, 0.05197437, 0.041261926, -0.04652282, -0.1115853, 0.3366313, -0.031618446, -0.07389004, -0.020897098, -0.06367265, 0.114403635, -0.03666332) * input_3(0.0, -1.0);
    result += mat4(0.4599023, 0.3805084, -0.116207615, 0.14310052, -0.02362751, 0.11138081, -0.057212945, 0.3629314, 0.064605325, 0.1596947, -0.9862897, 0.26850718, 0.15930751, -0.091448806, 0.29712284, 0.039469026) * input_3(0.0, 0.0);
    result += mat4(0.014238809, 0.091184236, -0.13040173, 0.06633281, 0.021931926, 0.14485447, -0.34190166, 0.32380378, 0.04444934, -0.022094384, 0.102068245, -0.05864746, 0.025936386, 0.016292823, 0.125996, 0.05388852) * input_3(0.0, 1.0);
    result += mat4(-0.0019962005, -0.0013437746, -0.021116832, -0.06799152, -0.0055189244, 0.013444108, 0.037177816, -0.015497819, -0.014484441, 0.017095814, 0.006331483, 0.115415074, -0.03646984, -0.06777626, 0.012704175, 0.0559862) * input_3(1.0, -1.0);
    result += mat4(-0.011745125, -0.11259154, 0.11183256, 0.0396286, -0.02586036, -0.030632498, 0.009019444, 0.103934616, -0.058296762, -0.12183043, 0.060542725, -0.16563873, 0.019533385, 0.00083464314, -0.04326401, -0.28750634) * input_3(1.0, 0.0);
    result += mat4(0.04396007, -0.024674986, 0.13590787, -0.009177236, -0.023106303, -0.054235805, -0.045576103, 0.11640536, -0.01884157, 0.03854955, 0.012438237, -0.086948335, -0.0294802, -0.016071001, 0.008237589, 0.041849393) * input_3(1.0, 1.0);
    result += vec4(-0.024067458, -0.051412303, -0.01271195, 0.06355461);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-2-ReLU)
//!HOOK MAIN
//!BIND conv2d_1_tf
//!BIND conv2d_1_tf1
//!BIND conv2d_1_tf2
//!BIND conv2d_1_tf3
//!SAVE conv2d_2_tf3
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_1_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_1_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_1_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_1_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.096872635, -0.07657225, -0.09594314, -0.009360676, -0.053617097, 0.024719879, 0.021744244, -0.004904263, -0.01090584, 0.11110744, -0.078501165, -0.18307798, -0.050964825, 0.023152601, -0.05377095, -0.026419874) * input_0(-1.0, -1.0);
    result += mat4(-0.05366554, 0.018685801, 0.046905763, 0.06337611, -0.052132163, -0.08358577, 0.08519082, 0.016030654, 0.17714445, 0.15190755, 0.20148294, -0.15590279, 0.054561906, -0.027874248, 0.023221489, 0.007979536) * input_0(-1.0, 0.0);
    result += mat4(0.13572484, 0.013291909, -0.06892491, 0.04134334, 0.093095034, -0.05061028, 0.0012705721, -0.026425367, -0.04046706, -0.119801365, 0.09224888, 0.022692244, -0.0018213268, 0.008332761, 0.05033691, -0.05298065) * input_0(-1.0, 1.0);
    result += mat4(0.085469276, 0.11281595, 0.05571432, -0.07626864, 0.043184903, -0.039499078, -0.12988998, 0.022897795, -0.04983594, 0.014232418, -0.8833562, -0.012759155, -0.037291344, -0.042633943, -0.039645348, 0.11280032) * input_0(0.0, -1.0);
    result += mat4(-0.48193687, 0.30865443, 0.118817955, 0.34538934, 0.121973395, 0.17797111, 0.08956883, -0.25792968, 0.035412543, -0.07265457, -0.043110415, 0.0692522, -0.1170193, 0.054063074, 0.093117625, -0.06832905) * input_0(0.0, 0.0);
    result += mat4(-0.06222289, -0.045156103, 0.1824148, -0.03966603, -0.030552305, -0.06160288, 0.007964354, 0.008588992, 0.012557888, 0.043511447, 0.019203981, 0.024152463, 0.028292768, 0.051521435, 0.026259866, 0.007372529) * input_0(0.0, 1.0);
    result += mat4(0.075850464, -0.06449427, -0.7722639, 0.025378935, 0.011170058, 0.0150819775, -0.13011537, 0.09411496, -0.010794137, 0.020152032, -0.42999536, -0.024125338, -0.06982154, 0.13085802, -0.0428707, -0.0097373) * input_0(1.0, -1.0);
    result += mat4(-0.29065335, 0.081098475, -0.056524407, -0.03668691, -0.0068044583, -0.0924134, 0.04015352, -0.15991798, -0.0050403704, -0.015847089, -0.025499051, -0.034113258, 0.042376187, -0.060674034, -0.02500914, 0.15476047) * input_0(1.0, 0.0);
    result += mat4(-0.06947569, 0.033741955, -0.10256018, -0.09392641, -0.053987022, 0.077107176, 0.10951788, 0.03455002, 0.007102335, 0.004562488, 0.0073631215, 0.021028785, -0.0070892293, 0.021235665, 0.05989738, 0.09591314) * input_0(1.0, 1.0);
    result += mat4(-0.040839363, -0.09310611, -0.022762444, 0.008001268, 0.057920266, -0.04964174, -0.036175597, -0.010201452, 0.08377224, 0.29641992, -0.028460013, 0.14052173, 0.052537125, -0.13756607, 0.09204118, -0.03180002) * input_1(-1.0, -1.0);
    result += mat4(0.057756707, -0.044413768, 0.028667226, 0.04263289, -0.2521369, 0.12680897, -0.012570315, 0.095544875, 0.11916103, 0.13275816, -0.0056714737, -0.03639288, 0.041241415, 0.01499326, 0.022282006, -0.026207063) * input_1(-1.0, 0.0);
    result += mat4(0.0053940797, -0.047273424, 0.005861715, -0.06279235, 0.004395734, -0.045816287, -0.013918366, 0.005891426, -0.026853971, 0.01332281, 0.041763075, -0.0003842627, 0.015239568, 0.022983737, -0.052563444, 0.0020883966) * input_1(-1.0, 1.0);
    result += mat4(-0.010671869, -0.044093736, -0.0727182, 0.08885506, 0.1282266, -0.07013175, -0.5019487, 0.0030539704, 0.017217357, -0.023988187, 0.4777051, 0.0078794155, 0.04207271, -0.05745005, -0.14416827, 0.029079497) * input_1(0.0, -1.0);
    result += mat4(0.08516455, 0.036977667, 0.037170358, 0.09805669, -0.096044324, -0.022229617, -0.048934933, 0.04140972, 0.15652674, 0.0017288512, -0.1697675, 0.018989518, -0.077364706, 0.33248654, 0.039052274, 0.20234485) * input_1(0.0, 0.0);
    result += mat4(0.026542012, -0.06988781, 0.0106242215, -0.043425333, 0.0011903404, 0.017404402, -0.046045095, 0.021411236, 0.044543386, 0.042168334, -0.05143258, 0.003679177, 0.051083192, -0.006925081, 0.12479416, -0.044068333) * input_1(0.0, 1.0);
    result += mat4(-0.017659197, -0.029180782, -0.2734885, -0.006670503, -0.03849303, 0.028410533, -0.36142573, -0.035266843, 0.069281645, 0.01199216, -0.21040283, 0.10400303, 0.043471802, 0.017509446, -0.26362363, 0.0079002725) * input_1(1.0, -1.0);
    result += mat4(0.04845091, 0.00536072, -0.07746371, 0.013972616, 0.07305809, 0.031057173, 0.06481903, -0.045159522, -0.053500373, -0.065444194, -0.0006150535, -0.00041226856, 0.029713346, 0.007818232, 0.07008367, -0.038659915) * input_1(1.0, 0.0);
    result += mat4(-0.042678766, 0.15473647, 0.023649212, 0.04618573, 0.009896818, -0.0014612576, 0.007815378, -0.017601289, -0.023391465, -0.028949969, -0.09679299, 0.00041160238, -0.0100455, -0.061675746, -0.069975704, -0.027193293) * input_1(1.0, 1.0);
    result += mat4(-0.02025938, -0.061029974, 0.13100033, -0.05434199, 0.02434262, -0.08125934, -0.067844436, -0.09311301, 0.039078385, -0.0014721471, 0.11148443, -0.0113189295, 0.022058655, 0.09282123, -0.03617259, 0.17740253) * input_2(-1.0, -1.0);
    result += mat4(0.006456334, 0.05600417, 0.050049726, 0.010309191, 0.18577968, 0.030151846, -0.066117816, 0.052350234, 0.11393355, -0.040404566, -0.21884763, 0.031149931, -0.09141809, 0.13170087, -0.064434625, 0.04361994) * input_2(-1.0, 0.0);
    result += mat4(-0.07470081, 0.04468819, 0.013925883, -0.10033101, 0.029496027, 0.012827104, -0.08126065, 0.015210496, 0.02945488, 0.014203803, -0.05138025, -0.088827565, -0.020186823, 0.04424135, 0.00962419, 0.055445164) * input_2(-1.0, 1.0);
    result += mat4(0.013634653, 0.18023957, 0.0009309964, 0.15558174, -0.05157721, -0.01986341, 0.033143617, -0.07542371, 0.14866202, -0.17008911, -0.84653306, -0.21218847, 0.17646149, 0.0075058793, -0.06780895, 0.1819013) * input_2(0.0, -1.0);
    result += mat4(-0.11437553, 0.6810901, -0.0014300718, 0.41660237, 0.13198686, -0.023480779, 0.2768328, 0.36417887, 0.02307235, 0.016462095, 0.3289858, 0.31268987, 0.2021841, -0.12696363, 0.021874813, 0.13201346) * input_2(0.0, 0.0);
    result += mat4(0.1316655, -0.058480162, -0.0077270307, -0.20143324, 0.0077131772, -0.05814806, -0.041937955, -0.09849464, 0.27971286, 0.104969665, 0.21508372, 0.06433199, 0.028415084, 0.020134766, 0.012718034, 0.09506623) * input_2(0.0, 1.0);
    result += mat4(0.03439134, -0.17891535, -0.6393641, -0.02498537, -0.0053634723, 0.073451534, -0.63508797, -0.04188558, 0.7192636, -0.43750244, -0.53786373, -0.057373133, 0.095833436, 0.01993105, -0.5015235, 0.03011575) * input_2(1.0, -1.0);
    result += mat4(0.1792418, -0.035331648, 0.04890079, -0.15462837, 0.06166603, -0.085109316, 0.10348345, -0.12798083, -1.5306855, 2.0291336, 1.6036907, -1.184641, 0.08960258, -0.09813748, 0.0068826815, 0.03696261) * input_2(1.0, 0.0);
    result += mat4(-0.20608273, -0.14020965, -0.12995026, 0.00841176, 0.074901745, -0.07531373, 0.06697864, 0.0015412577, 0.26873815, 0.94557416, -1.3666301, 0.78471535, 0.053551883, 0.0729612, -0.04998013, -0.016026795) * input_2(1.0, 1.0);
    result += mat4(-0.016269302, 0.008375513, 0.05811827, -0.02218395, 0.052564863, -0.051974665, 0.028050924, -0.0002502112, -0.007354499, -0.065842554, -0.01764993, -0.024733573, -0.00759153, 0.11826623, 0.0244329, -0.07151578) * input_3(-1.0, -1.0);
    result += mat4(-0.29088926, 0.07468869, 0.048705906, 0.04467142, 0.10285287, -0.21781938, -0.010806969, 0.017453628, 0.04167707, 0.0080665015, 0.0968374, 0.0072647333, -0.07847705, 0.06993956, 0.025159057, -0.020407403) * input_3(-1.0, 0.0);
    result += mat4(0.0020361445, 0.079342656, 0.19205484, 0.12839468, -0.007832321, -0.15459093, -0.00821439, 0.07501101, -0.0005147915, -0.014174587, 0.014547687, -0.045112673, -0.004297683, 0.099790454, -0.03930247, -0.051006384) * input_3(-1.0, 1.0);
    result += mat4(-0.037445467, -0.03659269, 0.110934824, -0.09769006, -0.0027493532, -0.037618358, -0.23624656, -0.058824744, -0.0021251861, -0.191837, 0.063567266, -0.1274306, -0.07858028, 0.30831823, -0.12858064, -0.07214795) * input_3(0.0, -1.0);
    result += mat4(0.0021729998, 0.04043506, -0.42306647, 0.16225989, -0.00444669, -0.17504898, -0.05195123, -0.023283841, -0.02341474, 0.110054724, 0.015619946, 0.06546413, 0.026060086, 0.2991281, 0.201074, 0.23177437) * input_3(0.0, 0.0);
    result += mat4(-0.03305497, -0.10885485, 0.17274942, 0.12270389, 0.07011865, -0.1705302, -0.023606608, 0.14959623, -0.044642396, -0.065330274, -0.0024401967, -0.08908263, -0.00306803, 0.12236613, -0.05583334, -0.11798965) * input_3(0.0, 1.0);
    result += mat4(-0.040559683, 0.10343254, -0.3802351, -0.045672372, 0.01652471, 0.015623215, 0.091734186, 0.00944782, -0.06059801, 0.06846117, -0.015593794, 0.022444228, 0.021453165, 0.09457857, -0.61158615, 0.010773176) * input_3(1.0, -1.0);
    result += mat4(0.19171347, -0.0793764, -0.055443082, -0.04450417, 0.02283389, -0.008108661, 0.04030422, 0.025094861, 0.030109499, 0.1336727, -0.014125637, -0.0893214, -0.065600045, -0.0024024537, -0.033421416, -0.13392447) * input_3(1.0, 0.0);
    result += mat4(0.06957239, -0.014779329, 0.030300207, -0.060458444, -0.033615544, -0.044664253, 0.015982203, -0.025108151, -0.029044589, 0.025722194, 0.02357763, 0.031071624, -0.084653206, 0.1511127, -0.03640966, -0.078023195) * input_3(1.0, 1.0);
    result += vec4(0.08009598, -0.06927129, -0.065471925, -0.07525482);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-3-ReLU)
//!HOOK MAIN
//!BIND conv2d_2_tf
//!BIND conv2d_2_tf1
//!BIND conv2d_2_tf2
//!BIND conv2d_2_tf3
//!SAVE conv2d_3_tf
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_2_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_2_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_2_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_2_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.056427214, 0.03257976, 0.2546983, 0.12635382, -0.00034371225, -0.096936494, 0.34108996, 0.056633346, 0.009525249, 0.026011951, 0.11727665, 0.03693678, -0.06337245, 0.12624995, -0.021997739, 0.010618583) * input_0(-1.0, -1.0);
    result += mat4(0.006898252, -0.08538036, 0.45746943, 0.0032479786, -0.030796982, 0.018782645, 0.3254037, 0.07612903, -0.027407436, -0.0951805, -0.18583572, 0.12735607, 0.12070076, -0.0061136396, 0.18083446, 0.13174321) * input_0(-1.0, 0.0);
    result += mat4(0.029844914, 0.03964002, 0.26549795, -0.15927114, -0.0030741626, 0.18874024, 0.15401621, -0.04557662, -0.031747684, 0.08121409, 0.027435556, 0.07578522, -0.048179146, -0.054656982, 0.028779956, -0.081079364) * input_0(-1.0, 1.0);
    result += mat4(0.024031429, -0.06727465, -0.0072555537, 0.098115556, 0.17045793, -0.21695778, 0.048647627, 0.12369471, 0.019358266, 0.054353792, -0.11227792, -0.1666285, -0.07870855, 0.1711892, -0.10557549, 0.09928542) * input_0(0.0, -1.0);
    result += mat4(0.041332707, 0.06856233, -0.07081006, -0.05065589, 0.094817616, 0.024533711, 0.016948598, 0.32361895, 0.18119338, -0.028576, -0.064559504, 0.19974568, 0.19588716, -0.25375968, 0.27634373, 0.1472376) * input_0(0.0, 0.0);
    result += mat4(-0.102315776, -0.06473981, -0.01793971, -0.10865065, 0.11620161, 0.28796628, -0.0026659009, -0.088643536, -0.04662132, -0.010345136, -0.038380362, 0.0016015443, -0.0014321564, 0.050186552, 0.27185586, -0.06360077) * input_0(0.0, 1.0);
    result += mat4(0.06762853, -0.0015561039, 0.0070191766, 0.014913775, 0.10627472, -0.04507801, -0.21367867, -0.016687082, -0.061503652, -0.0195257, 0.029064592, -0.106644474, -0.019918747, -0.051806483, 0.0478889, 0.03384112) * input_0(1.0, -1.0);
    result += mat4(0.015036734, -0.02397323, 0.08649303, -0.05076256, 0.022432927, -0.05077395, -0.12194957, -0.03289726, 0.027459254, 0.0638968, 0.06536388, -0.038766652, 0.031247059, 0.07322989, -0.27004036, -0.0050500804) * input_0(1.0, 0.0);
    result += mat4(0.21742208, 0.009106517, 0.06276677, 0.009318742, 0.39745, -0.037395373, -0.0076861084, -0.0023762204, -0.044642378, 0.007364801, 0.011591315, 0.10659569, -0.02338001, -0.02473274, -0.12353812, 0.0018414849) * input_0(1.0, 1.0);
    result += mat4(-0.04639377, 0.02770414, 0.05255646, -0.008079054, -0.006173204, -0.091235, 0.116152346, 0.013656157, 0.006378624, 0.0034262359, -0.10421283, -0.03283373, 0.06178746, 0.013496489, 0.15378976, -0.07890134) * input_1(-1.0, -1.0);
    result += mat4(0.0607194, -0.07222563, -0.038730733, 0.08465286, -0.009949685, -0.07662029, 0.12080441, -0.12872703, 0.047339816, -0.0726018, -0.25106153, 0.12033555, -0.024525167, -0.034619093, 0.09571368, 0.016357025) * input_1(-1.0, 0.0);
    result += mat4(-0.020206312, -0.060143743, -0.0039678523, 0.013894169, 0.016627233, 0.073821366, -0.06008685, -0.011965329, 0.0232164, 0.14450267, 0.06525406, 0.014665189, 0.086764544, 0.056905366, -0.027213678, 0.07685576) * input_1(-1.0, 1.0);
    result += mat4(-0.025652269, 0.054434236, 0.003538079, 0.005350016, 0.05799572, -0.06643454, 0.043631535, 0.102748305, -0.06273082, 0.08069227, 0.11019156, -0.094186865, 0.0074870978, 0.07112387, -0.016782701, -0.035077024) * input_1(0.0, -1.0);
    result += mat4(0.07133346, 0.0770859, -0.19992818, -0.15004979, -0.18140155, -0.020424817, 0.018565739, -0.089325614, 0.0011094213, -0.26509658, -0.07907238, 0.34048977, 0.18155353, -0.15464707, 0.018600756, -0.20499422) * input_1(0.0, 0.0);
    result += mat4(-0.32849476, -0.17935416, -0.13655967, 0.018724767, 0.18025924, 0.030181123, 0.06910724, 0.025828708, -0.024431461, 0.23620418, -0.23898748, 0.17805971, -0.12948847, 0.016263753, -0.015962353, -0.03412712) * input_1(0.0, 1.0);
    result += mat4(-0.022478148, 0.063252985, -0.06229067, 0.04197107, -0.068536595, -0.020301336, 0.011872937, -0.039093245, -0.021227304, 0.045644097, -0.11011987, -0.055697523, 0.054981254, 0.015425218, -0.083185114, 0.0060297926) * input_1(1.0, -1.0);
    result += mat4(0.09520205, -0.04929895, -0.040512633, 0.05360234, -0.12207174, 0.0012761045, 0.0020996355, -0.027086947, 0.045402806, -0.050106343, 0.01957027, -0.01967033, 0.17515883, 0.020539459, 0.029137596, -0.03037282) * input_1(1.0, 0.0);
    result += mat4(-0.3858901, 0.0002947593, 0.15922767, 0.045385394, -0.11781547, 0.061404318, -0.08786914, -0.0052150036, -0.091589205, 0.031569924, 0.04904067, 0.0140197, -0.12153845, -0.018197875, 0.087364614, -0.014716375) * input_1(1.0, 1.0);
    result += mat4(-0.008942385, -0.0866112, 0.00033022364, 0.03263921, -0.01741599, 0.012235982, 0.0025384454, -0.012114122, 0.0411369, 0.10240495, -0.060735144, 0.010928003, -0.04484757, 0.07098497, -0.034330543, 0.02699554) * input_2(-1.0, -1.0);
    result += mat4(-0.029567685, 0.18847068, 0.18191601, -0.18279944, 0.010114946, 0.013815786, 0.09831111, -0.021228617, 0.0022898861, -0.058957215, -0.30922312, -0.023732057, 0.078439616, -0.06031886, 0.045094345, 0.39917865) * input_2(-1.0, 0.0);
    result += mat4(0.026916638, -0.14777178, -0.15934218, 0.08627627, -0.0058360607, 0.022066744, 0.0023083182, -0.0016613865, 0.0067215892, -0.12387269, -0.23625977, 0.026369572, -0.20253335, -0.021363856, 0.116059035, 0.06569985) * input_2(-1.0, 1.0);
    result += mat4(0.073416315, -0.09450284, -0.17073642, -0.0077062417, -0.09754616, 0.16014674, 0.011836237, -0.046186093, -0.21389626, 0.1931614, -0.18874586, -0.08436252, -0.056475308, 0.031908944, 0.062316123, 0.034255296) * input_2(0.0, -1.0);
    result += mat4(0.04932186, 0.4120309, -0.070966065, 0.027517816, 0.17340617, 0.04927245, -0.4825386, 0.22751181, -0.016820656, -0.14712285, 0.0029731372, -0.42114696, 0.023723723, -0.11936677, 0.17552379, 0.25798386) * input_2(0.0, 0.0);
    result += mat4(0.22880965, -0.27364278, 0.16565546, -0.18113871, -0.23036009, -0.19633427, -0.09894892, -0.19702537, -0.27990404, -0.2805118, -0.011001598, 0.15812244, 0.062279258, 0.09834155, 0.08817135, 0.05681427) * input_2(0.0, 1.0);
    result += mat4(0.004253872, -0.07254096, 0.10943434, 0.1400097, -0.071424395, 0.017112829, 0.05189157, 0.054267205, -0.083621636, -0.006601869, 0.23463236, 0.072545774, -0.10273776, 0.022808243, -0.013025092, -0.04353297) * input_2(1.0, -1.0);
    result += mat4(-0.14267984, 0.12196879, -0.090951934, 0.07099038, 0.054117694, 0.072308525, 0.13482717, -0.005721286, 0.22250323, 0.025341662, 0.040165886, 0.058681607, 0.17518148, 0.0041509983, -0.19927275, 0.044298634) * input_2(1.0, 0.0);
    result += mat4(-0.26539034, -0.09991242, 0.0044673216, 0.023248708, -0.010732754, -0.07329988, 0.104772314, -0.10754018, -0.42178947, 0.03449781, 0.011256823, 0.036160707, -0.048522115, -0.010757273, -0.063142076, -0.006240903) * input_2(1.0, 1.0);
    result += mat4(0.0055187116, -0.09408751, -0.08247446, 0.1428038, 0.010742033, -0.16232896, -0.20452367, 0.0693004, 0.010476427, -0.021389829, 0.10154612, -0.0036740662, 0.0073636845, -0.048977025, 0.010670133, 0.01042691) * input_3(-1.0, -1.0);
    result += mat4(0.011911435, 0.103707895, -0.12971751, -0.074951485, -0.011840601, 0.1246942, 0.022544444, -0.18340284, 0.013492689, -0.08875631, 0.19984512, -0.06527596, -0.039208982, 0.05292409, -0.19391267, 0.061079334) * input_3(-1.0, 0.0);
    result += mat4(-0.0314971, -0.047286224, -0.09145806, 0.019897593, 0.027275993, -0.02141399, 0.012829967, 0.032873396, 0.3100123, -0.6134306, 0.442045, 0.43727618, 0.13065164, 0.11157354, -0.16540407, 0.086338066) * input_3(-1.0, 1.0);
    result += mat4(-0.029935187, -0.024531597, 0.04361905, 0.052769, 0.034203764, -0.12743928, 0.082487345, -0.0304213, 0.032777917, 0.032369602, -0.024419852, 0.01838674, 0.045183808, -0.16052186, -0.1063654, 0.04288795) * input_3(0.0, -1.0);
    result += mat4(-0.0935205, 0.02543522, 0.3284374, 0.0045538745, -0.018065069, 0.122365765, -0.109476455, -0.24800752, 0.1634655, -0.14448197, 0.12655407, 0.15097016, -0.05529696, 0.15322325, -0.41134036, -0.14600295) * input_3(0.0, 0.0);
    result += mat4(0.06291098, 0.11597649, 0.01059325, -0.0069417185, 0.12980132, -0.18086265, -0.16053715, -0.0030477417, -0.4351968, 0.202541, -0.11528569, 0.35202244, 0.1400385, 0.10074328, 0.0021079988, 0.32695526) * input_3(0.0, 1.0);
    result += mat4(-0.027992431, -0.07602873, 0.04258546, 0.07977561, -0.00074737705, 0.002579656, -0.08275209, 0.0054104156, -0.06298874, -0.012671791, -0.0001141453, 0.027550833, 0.064861454, -0.010673048, 0.027617197, 0.03535387) * input_3(1.0, -1.0);
    result += mat4(0.20161784, 0.055195525, -0.15687488, 0.007428803, -0.16805995, -0.0017020843, -0.095596224, 0.014376967, -0.20698604, -0.08014756, -0.053094145, 0.0037538933, -0.15058348, 0.036342584, 0.11677601, 0.08629377) * input_3(1.0, 0.0);
    result += mat4(0.06711172, -0.020817949, -0.032094177, -0.021948988, -0.26817247, -0.05344593, 0.057301838, 0.017513337, 0.058955964, 0.1122576, 0.090701185, 0.08574891, -0.12562159, 0.1349338, -0.048285358, 0.11081805) * input_3(1.0, 1.0);
    result += vec4(0.021442221, -0.012107946, 0.008675895, 0.015054332);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-3-ReLU)
//!HOOK MAIN
//!BIND conv2d_2_tf
//!BIND conv2d_2_tf1
//!BIND conv2d_2_tf2
//!BIND conv2d_2_tf3
//!SAVE conv2d_3_tf1
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_2_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_2_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_2_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_2_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.29129305, 0.0053429673, -0.021881867, -0.05786017, 0.23109661, -0.019534754, -0.07869821, -0.1271099, -0.07055414, 0.019709123, 0.09438129, 0.08118081, 0.41704682, 0.07371449, 0.12306766, 0.16822867) * input_0(-1.0, -1.0);
    result += mat4(-0.03680964, 0.04826886, 0.09146144, 0.35177714, -0.03710556, 0.022463217, -0.0021484233, -0.0077521103, -0.2558188, -0.081314534, 0.046385836, 0.053899936, 0.16800159, -0.021604711, -0.04523133, -0.038566563) * input_0(-1.0, 0.0);
    result += mat4(-0.17011644, -0.66529095, 0.023957413, 0.07966711, -0.01763976, 0.16051105, 0.028027076, -0.08729664, 0.17315145, -0.04283312, -0.04513872, -0.08801195, -0.03341563, 0.09221265, -0.039341602, 0.03587484) * input_0(-1.0, 1.0);
    result += mat4(-0.07650441, 0.00024289794, 0.011642567, 0.022204764, 0.13878313, -0.05809853, -0.023621952, 0.10513591, 0.14467569, -0.050929654, -0.15840581, -0.06386332, 0.27831894, 0.026760455, 0.09618819, -0.035639472) * input_0(0.0, -1.0);
    result += mat4(0.008405066, 0.07627782, -0.053341214, -0.016786937, 0.019828286, 0.03453441, -0.1380372, 0.13450606, 0.051949866, -0.5333784, 0.13848965, -0.068898514, -0.016503943, -0.10129962, -0.045151055, 0.1720737) * input_0(0.0, 0.0);
    result += mat4(0.05448341, 0.048031535, 0.08844305, 0.032766465, -0.013046556, -0.06350627, 0.011779046, -0.058231913, 0.1652065, 0.15161854, -0.07664249, 0.047963813, 0.042933106, -0.21560572, 0.08382921, 0.17052625) * input_0(0.0, 1.0);
    result += mat4(0.021406978, 0.018323671, 0.015245003, -0.009950944, -0.14258853, 0.02915082, -0.03188488, -0.10465689, -0.15082763, -0.05360231, 0.028286, -0.041431453, 0.055026617, 0.0032037739, 0.032855723, 0.017502842) * input_0(1.0, -1.0);
    result += mat4(-0.00092390855, 0.01913146, 0.07336336, 0.044508755, -0.16081883, 0.061295692, 0.0004322984, 0.024712108, -0.18402597, -0.0458872, 0.020187704, 0.07044244, 0.050738342, 0.09175157, -0.02972611, -0.029710792) * input_0(1.0, 0.0);
    result += mat4(-0.03709444, -0.044383004, 0.037184015, 0.007345862, -0.06984217, 0.023312911, 0.034621313, -0.050397668, 0.13760662, -0.079967186, -0.034282185, 0.009909655, 0.11950704, 0.13580692, -0.0750385, -0.06753625) * input_0(1.0, 1.0);
    result += mat4(-0.23300268, 0.04642716, -0.020711849, -0.24264957, 0.19275331, -0.01907414, -0.057502992, -0.18802032, 0.06904125, 0.018237278, 0.011328671, 0.10483785, -0.32608497, 0.002330776, 0.043238875, 0.091092646) * input_1(-1.0, -1.0);
    result += mat4(-0.8776263, 0.0248958, -0.0010669467, 0.109312385, -0.051124483, 0.090933345, 0.0879955, 0.123943605, -0.09050287, -0.040214367, -0.044134427, 0.2084896, -0.2299684, -0.17319018, -0.16269301, -0.28814268) * input_1(-1.0, 0.0);
    result += mat4(0.2166589, 0.1412949, -0.010345421, -0.03799368, 0.12696142, -0.22931007, 0.009931933, 0.036300298, 0.10071286, 0.14621432, 0.0007318148, 0.0678567, -0.28672057, 0.016857384, 0.12837249, -0.041150387) * input_1(-1.0, 1.0);
    result += mat4(0.19744636, -0.040973186, 0.011220624, 0.15118326, 0.3230936, 0.036130354, 0.0025919091, -0.056803096, 0.061502557, 0.00105434, 0.021115964, 0.026441162, -0.07311359, -0.03367163, 0.076380596, 0.10540923) * input_1(0.0, -1.0);
    result += mat4(-0.16491228, 0.039049804, 0.18077585, -0.08415068, -0.10430649, -0.1030926, -0.30603033, -0.019916613, 0.046151727, -0.04007822, 0.0008096989, -0.03138043, -0.16935992, -0.07367794, -0.05342508, -0.06508534) * input_1(0.0, 0.0);
    result += mat4(0.30973974, -0.05591145, 0.028382221, -0.12912235, 0.069271475, -0.028148292, -0.0048906608, 0.06323864, 0.02988908, 0.1519089, -0.116403036, -0.049247477, -0.118894964, 0.02266273, 0.03318282, 0.023742719) * input_1(0.0, 1.0);
    result += mat4(0.05606676, 0.043499928, -0.036163144, 0.0016767674, 0.062766045, 0.011578217, 0.011766151, -0.021695077, 0.07214818, -0.00024045706, 0.030264694, 0.029464616, 0.14360242, 0.045119174, 0.037592284, 0.03565165) * input_1(1.0, -1.0);
    result += mat4(0.006090129, 0.0034266862, 0.023533016, 0.0051984764, 0.036666173, -0.045472205, 0.07031323, -0.0065966854, 0.13307722, -0.004435026, -0.006258275, 0.008719634, 0.08421584, -0.016087553, -0.0050972565, -0.035881247) * input_1(1.0, 0.0);
    result += mat4(0.051414095, 0.01586511, 0.015886234, 0.0232608, 0.041703038, 0.0076622115, -0.0136111025, 0.020188311, -0.009840175, -0.0778938, -0.014886381, 0.059495907, -0.05790201, -0.020159543, 0.06048546, 0.043091662) * input_1(1.0, 1.0);
    result += mat4(-0.08710685, 0.01848401, 0.030959573, -0.22396186, -0.26985955, 0.05578639, 0.041078806, 0.063238226, -0.0086577, 0.01572864, 0.06260173, 0.1798179, 0.22920276, -0.08533967, 0.04277623, 0.19703527) * input_2(-1.0, -1.0);
    result += mat4(-0.1471892, -0.09610909, -0.035220597, -0.061270397, 0.27065182, -0.112420596, 0.002877071, 0.19216223, -0.50059724, -0.03201356, 0.012747368, 0.12271885, 0.4523693, 0.071939066, -0.16620508, -0.15524606) * input_2(-1.0, 0.0);
    result += mat4(-0.12120564, -0.603323, 0.04649719, 0.004601256, -0.50127035, -0.5756342, 0.03756324, -0.02669485, 0.23996732, -0.17234774, -0.08282055, -0.027878495, 0.19356169, 0.032303147, -0.009131008, 0.06091105) * input_2(-1.0, 1.0);
    result += mat4(-0.19094968, 0.009201492, -0.08233223, 0.23423974, -0.085956015, 0.023390083, -0.019345382, -0.041497756, -0.39183164, 0.042043097, -0.018995726, -0.24101277, 0.015060686, 0.025904061, 0.034039825, -0.021324681) * input_2(0.0, -1.0);
    result += mat4(0.16062227, 0.09841922, -0.16061687, 0.08962986, -0.063277125, 0.087519534, -0.04753003, -0.35615376, -0.18422636, 0.14142162, 0.12988496, -0.054044686, 0.016524326, -0.08772195, 0.04032107, 0.14288254) * input_2(0.0, 0.0);
    result += mat4(0.021462081, -0.102613725, 0.113560386, -0.071054585, -0.52487874, 0.18561476, 0.009896603, -0.086822085, 0.079629734, 0.07506634, -0.012581967, 0.018591437, -0.013447825, -0.024443856, -0.027779289, 0.0006123536) * input_2(0.0, 1.0);
    result += mat4(-0.09680888, 0.08311264, 0.025610607, 0.0298456, -0.13962665, -0.0044496614, 0.018306678, 0.00056609383, -0.12029636, -0.060511198, 0.059049536, 0.07112892, -0.041122522, -0.0013411872, -0.002242706, 0.017892221) * input_2(1.0, -1.0);
    result += mat4(0.10501168, 0.01998544, 0.059107717, -0.023760837, -0.19152105, -0.083372265, -0.04853985, 0.0012846563, 0.098427355, -0.041112863, -0.032408904, 0.007419539, 0.06282345, 0.04279856, -0.047711514, -0.06853637) * input_2(1.0, 0.0);
    result += mat4(-0.05839986, 0.075404316, 0.051891282, -0.01160799, -0.1314188, 0.0049822936, 0.012114316, 0.023273846, 0.10388059, -0.03613849, -0.0652397, 0.016404662, 0.03447166, 0.030465899, -0.013320984, -0.023561176) * input_2(1.0, 1.0);
    result += mat4(-0.042307895, -0.025912754, -0.025356833, 0.022333564, -0.8009234, 0.027823336, -0.07434561, -0.26090202, 0.14197691, -0.11925332, -0.018087985, 0.0005220478, 0.07356085, -0.0060041714, -0.04495016, -0.19698465) * input_3(-1.0, -1.0);
    result += mat4(-0.37251675, -0.097076274, 0.023338754, -0.07171509, -0.09621653, 0.061440293, 0.1191679, 0.023705926, 0.32448533, -0.19953322, 0.0041866247, 0.15094711, -0.42161193, 0.09965685, 0.045571927, 0.052150387) * input_3(-1.0, 0.0);
    result += mat4(0.14462516, 0.015990317, -0.064927295, 0.0018280839, 0.15127516, -1.3105991, 0.014121666, 0.020295765, 0.23333858, 0.03444806, -0.37736058, -0.060370304, 0.4991603, -0.93966824, -0.05556413, -0.038617678) * input_3(-1.0, 1.0);
    result += mat4(0.10643503, 0.08213272, 0.14561448, -0.03150889, -0.2509681, 0.07437223, -0.017504374, 0.062928125, -0.07141134, 0.034271035, 0.011524786, 0.02279654, 0.027971193, -0.011572692, -0.076335825, 0.0064777625) * input_3(0.0, -1.0);
    result += mat4(0.16256969, -0.009896059, 0.32493666, 0.07741935, -0.2318621, 0.05606437, 0.072838604, -0.06951127, -0.22001274, 0.030881371, 0.1013459, 0.18873444, 0.31719443, 0.15360485, -0.02546298, -0.1258297) * input_3(0.0, 0.0);
    result += mat4(-0.022819787, -0.10600409, -0.0091404235, -0.007018024, 0.05232936, -0.08014371, 0.0863763, -0.08705891, 0.019055981, 0.15619232, -0.0612761, -0.09651032, 0.28231263, 0.0077885175, -0.06505287, 0.13612014) * input_3(0.0, 1.0);
    result += mat4(-0.022422057, 0.0015185927, -0.063589334, 0.06091778, 0.027977526, -0.013677217, -0.067654096, 0.017657144, -0.012314894, -0.016039548, 0.013354708, -0.037844755, 0.07733323, -0.0364288, -0.054993495, -0.096887626) * input_3(1.0, -1.0);
    result += mat4(-0.05392398, 0.029915623, -0.056451846, -0.081732385, 0.08147633, 0.05447212, 0.033054482, -0.071951345, -0.039079964, 0.018940639, 0.11011058, -0.0139967445, -0.07152502, -0.056256343, -0.06869448, 0.09496787) * input_3(1.0, 0.0);
    result += mat4(-0.06817508, 0.051391922, -0.07113651, 0.0059042904, -0.035002887, 0.023137853, 0.034719452, 0.016994042, -0.07681474, -0.035068378, -0.0002724546, 0.0795744, 0.1612707, -0.03656419, -0.06914148, 0.02777499) * input_3(1.0, 1.0);
    result += vec4(0.007973034, 0.17087658, 0.016819738, 0.0029881943);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-3-ReLU)
//!HOOK MAIN
//!BIND conv2d_2_tf
//!BIND conv2d_2_tf1
//!BIND conv2d_2_tf2
//!BIND conv2d_2_tf3
//!SAVE conv2d_3_tf2
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_2_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_2_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_2_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_2_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.11406924, 0.056324344, -0.6332915, 0.010622408, 0.012142185, -0.008202351, -0.060023375, -0.11887914, 0.12933722, 0.039111957, -0.99794155, -0.043601938, 0.13136345, 0.015025519, 0.11097461, 0.02233707) * input_0(-1.0, -1.0);
    result += mat4(0.01884273, -0.17076138, -0.12836614, -0.12945925, 0.002743389, 0.024443675, -0.021423545, -0.031521156, 0.04859474, -0.04154408, 0.203656, 0.056159705, -0.019035418, -0.07747856, 0.040441662, 0.093648516) * input_0(-1.0, 0.0);
    result += mat4(-0.02493939, -0.0652046, -0.0064663813, -0.054400723, -0.020254299, -0.09516436, 0.058899473, -0.015608755, 0.08615412, 0.009435621, -0.050333206, 0.035117637, 0.016581818, -0.14915343, 0.011528662, 0.029589295) * input_0(-1.0, 1.0);
    result += mat4(0.13459206, 0.14275357, 0.012235847, 0.018763464, -0.05754721, 0.15161817, 0.044115487, -0.08449374, -0.24804519, -0.0048995265, 0.35317466, 0.048839696, 0.17661148, -0.029425956, -0.16742377, 0.08191423) * input_0(0.0, -1.0);
    result += mat4(0.17508017, 0.34982237, 0.0027427066, -0.013151542, 0.014812564, 0.29886585, -0.15697911, 0.09198021, 0.055883836, -0.096794516, 0.114639975, -0.042895768, 0.1268423, 0.2870071, -0.12247064, 0.05819538) * input_0(0.0, 0.0);
    result += mat4(0.022810517, 0.22198865, 0.039865278, 0.012538095, 0.028554857, 0.021386862, 0.05328158, -0.0035324756, 0.0015867183, 0.031307947, -0.17383455, -0.01198566, 0.010765767, 0.052472997, -0.011881282, 0.036567397) * input_0(0.0, 1.0);
    result += mat4(0.038425736, 0.17061624, 0.023290098, 0.035795916, 0.027128678, 0.18942563, 0.077927515, 0.0653329, -0.04110151, 0.033653025, -0.09599529, 0.06693046, 0.021110328, -0.036056466, 0.032166246, 0.037249077) * input_0(1.0, -1.0);
    result += mat4(-0.0063078334, 0.2111428, -0.018789964, 0.07272309, 0.08757309, 0.33936736, 0.023797883, 0.10145758, -0.06841952, -0.07297189, 0.07658616, 0.044836674, 0.035499487, -0.18757556, -0.05959198, 0.0113612795) * input_0(1.0, 0.0);
    result += mat4(0.0012363908, 0.15071148, -0.015742693, 0.04453381, -0.0038995424, 0.14232045, 0.026585704, 0.03796419, 0.038109053, -0.0046541058, -0.008149249, 0.0730196, -0.034307756, -0.33538786, -0.04410772, -0.07021129) * input_0(1.0, 1.0);
    result += mat4(0.0057952655, -0.08387529, -0.5637482, 0.011496099, -0.11575538, -0.13450001, -0.96976787, -0.034705725, -0.038891703, -0.014034617, -0.34479105, 0.045256488, -0.058838665, 0.06696562, -0.98954344, -0.027907977) * input_1(-1.0, -1.0);
    result += mat4(0.025206363, 0.09932762, -0.026067734, 0.022901686, 0.11673244, -0.2967707, -0.08338729, 0.006840284, -0.111410014, -0.0008437332, -0.08891378, 0.027529366, -0.0547458, 0.1627998, -0.5451378, -0.04510507) * input_1(-1.0, 0.0);
    result += mat4(-0.008235603, 0.023997702, -0.0523206, -0.030684236, 0.023136165, -0.12309918, 0.07205342, 0.061187673, 0.073317245, 0.2377643, -0.09548323, -0.008840615, -0.043576725, 0.19161913, -0.14912938, -0.00759035) * input_1(-1.0, 1.0);
    result += mat4(-0.0066252355, 0.09567414, -0.046489418, 0.08649849, 0.05509192, -0.03191013, -0.117766716, -0.053456526, -0.0062713227, 0.030174237, 0.0013704179, 0.016836077, 0.015145, 0.04268078, -0.006707921, 0.000108256856) * input_1(0.0, -1.0);
    result += mat4(0.20547572, 0.050236046, -0.0073050344, -0.008174835, 0.19540706, 0.047207765, 0.074283324, 0.21249081, 0.032280818, -0.30240613, -0.01807405, 0.24913332, -0.050505612, -0.072172746, 0.033428844, -0.057832323) * input_1(0.0, 0.0);
    result += mat4(0.012583805, 0.03584514, 0.13676603, -0.030400088, -0.0161153, -0.02003828, 0.021548864, 0.0673345, -0.04175931, -0.49475858, -0.107933015, -0.017471012, -0.04466413, -0.04194718, 0.0972281, 0.029294286) * input_1(0.0, 1.0);
    result += mat4(0.027044397, -0.28487363, -0.018574122, -0.027225867, -0.023238167, 0.1743924, 0.051157337, 0.02015072, -0.061255142, -0.040337373, -0.036164988, 0.001774039, 0.020776456, 0.117088534, -0.032754477, 0.027523462) * input_1(1.0, -1.0);
    result += mat4(-0.038745116, -0.4426365, -0.0038884168, 0.005903666, 0.017894937, 0.23375654, 0.048376087, -0.0067561474, -0.01653923, 0.01647615, -0.07426863, -0.05482999, -0.02785426, 0.059095416, -0.014707732, -0.069279015) * input_1(1.0, 0.0);
    result += mat4(-0.08823996, -0.057171002, -0.016634176, -0.010225064, 0.01778497, 0.048970014, 0.05199003, -0.017171234, 0.018954292, -0.062186483, -0.011778807, 0.0061430125, -0.021476727, 0.06478334, 0.0025909452, -0.019558122) * input_1(1.0, 1.0);
    result += mat4(0.002260876, 0.07109329, -0.68061686, 0.010457538, -0.017237877, 0.055503853, -0.42713162, 0.098063976, -0.069032185, 0.10775626, -0.5235459, 0.119263016, 0.054826107, -0.082082465, -0.050021734, -0.032230366) * input_2(-1.0, -1.0);
    result += mat4(0.1370851, 0.18696143, 0.003005948, -0.023291064, -0.068540335, 0.2085834, -0.027612744, -0.023389684, -0.018203542, 0.09350871, 0.020865055, 0.089612946, 0.014507053, -0.021991353, -0.015037733, 0.0977882) * input_2(-1.0, 0.0);
    result += mat4(-0.019566074, -0.014937911, 0.04711158, 0.024782361, -0.04308179, 0.04621874, 0.008369885, 0.0070158015, 0.027668307, 0.018262604, 0.050976206, -0.009489942, 0.035975426, -0.0457932, 0.00917255, 0.05018499) * input_2(-1.0, 1.0);
    result += mat4(-0.24668995, -0.19574642, 0.058220435, -0.15214361, 0.03968567, 0.0451827, 0.15964547, -0.0013019332, 0.14226092, -0.2472092, 0.038380258, 0.020382484, 0.009196722, -0.032118496, 0.05366601, -0.017727632) * input_2(0.0, -1.0);
    result += mat4(-0.16199738, -0.04751717, 0.42246357, -0.19572705, -0.09568524, -0.24476378, 0.06748046, -0.123380885, -0.066679575, -0.28958154, 0.16032317, -0.12492018, 0.049983576, -0.21002692, -0.05232668, 0.28539604) * input_2(0.0, 0.0);
    result += mat4(0.021702478, 0.10010502, 0.100589775, 0.015144338, -0.0062182304, 0.044934656, -0.002511942, -0.063670866, -0.03967948, 0.083224356, -0.0880505, -0.0077613974, -0.013874613, -0.030743092, -0.02380683, 0.024395196) * input_2(0.0, 1.0);
    result += mat4(0.119846195, 0.11628784, -0.036855787, 0.06424034, 0.014610365, 0.057001714, -0.0075861155, 0.05540795, 0.017089032, 0.009484568, -0.022701992, -0.016913217, -0.01876505, 0.04399229, -0.03290531, -0.012121423) * input_2(1.0, -1.0);
    result += mat4(0.075269535, -0.16469966, 0.023134563, 0.12721252, 0.010597956, -0.10374869, -0.0013073208, -0.04927204, -0.06359948, -0.24304853, -0.024711385, -0.0041182754, -0.017297301, 0.11433336, 0.022495773, -0.049786564) * input_2(1.0, 0.0);
    result += mat4(-0.025968578, -0.089175805, -0.055120938, -0.074830666, -0.06555118, -0.0686743, 0.0070762625, -0.062434085, -0.0065562716, -0.27072573, -0.016438108, -0.032327175, 0.036402497, 0.064205654, -0.014354278, -0.009017453) * input_2(1.0, 1.0);
    result += mat4(0.18587151, -0.027871262, -0.6019453, -0.13958223, 0.08572448, -0.19187765, -0.4040806, -0.024384039, -0.008399041, -0.07645505, -0.11049496, -0.010498306, -0.004637796, 0.034603134, -0.91595906, 0.045993388) * input_3(-1.0, -1.0);
    result += mat4(0.005393304, -0.047866747, 0.32528874, 0.15362707, 0.112576514, -0.09042314, 0.1657345, 0.046860233, -0.2088697, 0.11034189, 0.109094724, 0.06536906, 0.03906021, -0.16451953, -0.082949795, 0.058323044) * input_3(-1.0, 0.0);
    result += mat4(-0.009661713, -0.005545652, 0.029908229, 0.005161011, 0.06223598, 0.038678695, 0.08336785, 0.0008389787, -0.00473107, -0.5433246, -0.13664095, -0.6234089, 0.008328771, -0.13620944, 0.09031141, 0.065092444) * input_3(-1.0, 1.0);
    result += mat4(0.078922465, 0.05410149, 0.3039456, 0.17105027, -0.08617652, 0.012841577, 0.010868629, 0.0080240965, 0.030642176, 0.0512469, 0.07217438, -0.07167767, -0.028962407, 0.04051536, -0.06706896, 0.079332545) * input_3(0.0, -1.0);
    result += mat4(-0.09904207, 0.25949425, 0.0015290236, 0.2265615, -0.049178183, 0.22219557, 0.021957938, -0.19188279, 0.001669614, 0.19979243, 0.30771455, 0.17210911, 0.22993444, 0.2457353, -0.006151521, 0.09392194) * input_3(0.0, 0.0);
    result += mat4(0.016717171, 0.045696568, 0.004492499, -0.008537124, 0.033251, -0.07103857, -0.026401218, 0.047074154, -0.14841937, 0.16257854, -0.34313592, -0.18476991, -0.05926641, 0.05509806, -0.051093455, 0.06822689) * input_3(0.0, 1.0);
    result += mat4(0.07835677, -0.036965363, 0.019649973, 0.06386251, -0.026912674, -0.16067775, 0.013193976, -0.058485746, 0.012387847, 0.053000566, -0.058646068, 0.050827526, -0.011134295, -0.19697922, 0.02741019, -0.033316657) * input_3(1.0, -1.0);
    result += mat4(0.013088372, -0.1274023, -0.007222921, 0.020482467, -0.05470524, -0.4526631, 0.020963352, -0.10180567, -0.013804538, -0.08146762, 0.018923232, 0.06602753, 0.07570257, -0.39907736, -0.012920764, 0.09608823) * input_3(1.0, 0.0);
    result += mat4(0.017178841, -0.17107409, -0.04095811, 0.01847119, -0.0174882, -0.071330175, -0.01989796, -0.016067913, -0.039633106, 0.034147266, -0.037596162, -0.004000714, -0.012129236, -0.08746126, 0.06541715, -0.003249854) * input_3(1.0, 1.0);
    result += vec4(0.055060796, 0.02804047, -0.0885136, 0.050245054);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-3-ReLU)
//!HOOK MAIN
//!BIND conv2d_2_tf
//!BIND conv2d_2_tf1
//!BIND conv2d_2_tf2
//!BIND conv2d_2_tf3
//!SAVE conv2d_3_tf3
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_2_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_2_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_2_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_2_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.01313795, -0.027983839, 0.055636566, 0.034420136, -0.004364461, 0.04084013, 0.11927275, -0.025571344, 0.010481797, -0.010332277, -0.049226772, -0.016099492, 0.03933667, -0.33785546, 0.105197094, 0.03576305) * input_0(-1.0, -1.0);
    result += mat4(-0.06428715, -0.092996545, -0.107934356, -0.05422442, 0.06824847, 0.19732744, 0.19247039, -0.008540757, 0.00852184, 0.09424122, 0.05731225, 0.054562025, -0.12037574, -0.30038068, -0.53832465, -0.052765172) * input_0(-1.0, 0.0);
    result += mat4(-0.00072432647, -0.14597893, -0.017582754, -0.054702897, 0.011119306, 0.08921923, -0.031913273, 0.018261116, 0.016731482, -0.12064894, 0.04320436, 0.035312958, 0.045566194, -0.2091561, -0.18609813, -0.020907108) * input_0(-1.0, 1.0);
    result += mat4(-0.005552114, -0.050704587, 0.032520592, 0.018033203, -0.034337543, 0.071602456, 0.068078265, -0.03545337, -0.01841552, -0.12709443, 0.0038359365, -0.07121396, 0.07175021, -0.29186007, 0.09576113, 0.12739441) * input_0(0.0, -1.0);
    result += mat4(-0.0054931226, -0.20419355, 0.1507058, 0.05073101, 0.17225532, 0.20086707, 0.35465482, -0.003944794, -0.029440627, 0.19441637, -0.22983794, -0.95016915, -0.19869997, -0.6904206, -0.023434145, 0.053584732) * input_0(0.0, 0.0);
    result += mat4(0.0081859715, -0.14006315, -0.1470334, 0.023728304, -0.111624874, 0.032306336, -0.06553537, 0.019451283, -0.14147222, 0.00754564, 0.0016088884, 0.09919649, 0.33118936, -0.222461, -0.01514365, -0.03282303) * input_0(0.0, 1.0);
    result += mat4(-0.013033778, -0.029880224, 0.004185879, -0.01557867, 0.06805118, 0.015174101, -0.0633679, 0.025708305, 0.011920404, 0.07380516, 0.045385007, -0.030574065, 0.0466908, -0.094974846, -0.06441114, 0.032641903) * input_0(1.0, -1.0);
    result += mat4(0.066500604, -0.074573934, 0.018848453, 0.0044867117, 0.033999853, 0.070985764, -0.08841184, 0.025324576, -0.11836535, -0.044362213, 0.011923192, 0.005194058, -0.032092478, -0.491583, -0.4325347, 0.06596799) * input_0(1.0, 0.0);
    result += mat4(0.062939964, -0.010567571, -0.08731696, 0.0076250355, 0.10282465, 0.109848596, -0.1480956, 0.033305217, -0.41894832, 0.046476945, -0.033775065, -0.0018517852, -0.20134896, -0.41748637, -0.38495946, 0.012020392) * input_0(1.0, 1.0);
    result += mat4(0.014074159, -0.00888394, 0.049082756, 0.026627906, 0.030265244, 0.18088207, -0.09287488, -0.021873003, 0.06308617, -0.08481379, -0.19361824, -0.01831955, -0.04611482, -0.046611078, -0.13258234, -0.025987845) * input_1(-1.0, -1.0);
    result += mat4(-0.04543276, -0.0600163, -0.01290414, -0.009015079, 0.005742929, 0.06293553, -0.1328357, -0.054693095, 0.03158811, -0.1603367, 0.05050137, 0.048512943, 0.04401426, -0.0795602, 0.32360741, 0.019975096) * input_1(-1.0, 0.0);
    result += mat4(-0.027018484, 0.004791344, -0.0030147186, 0.017892579, 0.04344391, 0.065885715, 0.067729816, -0.03370515, -0.05181769, -0.17899513, 0.070377395, 0.088297226, -0.07659165, -0.21360779, 0.11902364, 0.056872062) * input_1(-1.0, 1.0);
    result += mat4(-0.008930387, 0.105095096, -0.09481171, -0.025744572, -0.028067987, 0.22847937, -0.09376547, 0.09653639, -0.01784643, -0.1513147, 0.07856012, -0.01950784, 0.046761896, -0.29377785, 0.23365067, 0.026831118) * input_1(0.0, -1.0);
    result += mat4(0.11008464, -0.053244896, -0.39684522, -0.021958362, 0.08246842, 0.34987047, 0.4423605, 0.07453107, 0.008803679, -0.23556064, -0.13229924, 0.022792114, -0.06278831, -0.06715604, -0.31027034, -0.032895137) * input_1(0.0, 0.0);
    result += mat4(-0.118394725, -0.042989545, -0.24240482, 0.06497963, -0.07958321, 0.07224767, 0.26881734, -0.040604882, -0.11376484, -0.34297577, -0.2966094, 0.026417604, -0.014031301, 0.024508344, 0.08322145, -0.037304666) * input_1(0.0, 1.0);
    result += mat4(0.009792233, -0.03939308, 0.099007614, 0.04678238, 0.031104932, 0.04843976, 0.041801192, 0.01055506, 0.0022300107, -0.13263106, -0.031271547, 0.00062219484, 0.05181801, -0.16041389, -0.032515, -0.00043186353) * input_1(1.0, -1.0);
    result += mat4(-0.10580444, 0.08226634, 0.13941072, -0.019837774, -0.07968865, -0.11321607, -0.089122914, -0.023825161, 0.013714465, -0.15987551, -0.0049922955, -0.005373544, 0.005821256, -0.07989907, -0.12359785, -0.026370976) * input_1(1.0, 0.0);
    result += mat4(-0.3105055, 0.16474563, 0.067288175, 0.007844671, -1.3051565, 0.032930974, 0.059184644, 0.019480733, -0.74896735, -0.09195548, 0.10861992, -0.004062191, -0.16839153, 0.0003067812, 0.09384735, -0.03159175) * input_1(1.0, 1.0);
    result += mat4(0.0059053795, 0.05495226, 0.13141236, 0.07576869, -0.011295926, 0.05676816, 0.0163165, 0.03525748, 0.04398549, -0.019092945, -0.14204797, 0.01052069, 0.0062197703, -0.023416746, -0.031291366, 0.019272167) * input_2(-1.0, -1.0);
    result += mat4(-0.0034932776, -0.028258855, 0.11518221, 0.062228844, 0.013086519, 0.024611143, 0.08498689, 0.029703915, -0.04848515, -0.05977223, -0.02193087, 0.031369943, -0.0017752474, 0.1664061, 0.16945401, 0.049020294) * input_2(-1.0, 0.0);
    result += mat4(0.043779485, -0.03679859, -0.13362062, -0.016755953, 0.023899915, 0.03785381, 0.12999879, 0.024190323, 0.01179716, -0.09753179, -0.037991267, -0.013423332, -0.038446415, 0.16219974, 0.14597297, 0.0071032974) * input_2(-1.0, 1.0);
    result += mat4(0.04599208, 0.20082064, -0.43284145, 0.015000225, 0.033919588, -0.07563997, 0.09458277, 0.03026887, -0.11387953, 0.21827535, 0.12550944, 0.030031865, 0.06344083, -0.037887085, 0.21463017, 0.044464692) * input_2(0.0, -1.0);
    result += mat4(0.20732486, -0.4298395, 0.040283307, 0.23769012, -0.0780996, -0.06862724, -0.45053104, 0.06108608, 0.048259974, 0.10635374, 0.079474755, -0.12380041, -0.057868715, 0.18489723, 0.2705186, 0.058234334) * input_2(0.0, 0.0);
    result += mat4(0.16215657, 0.11180855, -0.028105697, -0.033058975, 0.07175735, 0.18776059, -0.02415173, -0.09101543, 0.03497575, -0.044326693, -0.13645017, 0.051244237, 0.020093877, 0.10484197, 0.14029308, 0.012147524) * input_2(0.0, 1.0);
    result += mat4(0.051676724, -0.018526247, 0.2753995, 0.079408534, -0.017236862, -0.035191573, 0.23388074, 0.044211775, -0.06943045, 0.13356812, 0.0763876, -0.005673251, 0.019480461, 0.028395263, -0.029290516, 0.0072511416) * input_2(1.0, -1.0);
    result += mat4(-0.052424062, 0.108359255, -0.038481966, 0.12277543, -0.10941499, 0.14720927, -0.05240143, -0.0024388225, 0.07157925, 0.0973139, -0.146005, -0.05052196, 0.013236866, -0.094495855, -0.13020478, 0.012527269) * input_2(1.0, 0.0);
    result += mat4(-0.73283213, -0.16408694, -0.120229766, 0.027379388, -0.4265047, -0.062121414, -0.13071765, -0.034838114, -1.1157383, -0.046512224, 0.17413704, -0.0158362, 0.14104633, -0.014933879, -0.027171256, 0.00325033) * input_2(1.0, 1.0);
    result += mat4(-0.029909557, 0.01457932, 0.05850559, 0.0057353913, -0.015972162, 0.015093132, 0.017857421, 0.0046568685, -0.032009277, 0.008310346, 0.04840631, -0.0012536544, 0.05214402, 0.1413546, 0.0034265518, 0.009196479) * input_3(-1.0, -1.0);
    result += mat4(0.03665314, 0.07888421, -0.12647869, 0.013575358, -0.063097335, -0.013379881, -0.16176637, -0.035191607, -0.0992035, 0.15565532, -0.20317398, -0.040325426, 0.0033856106, 0.14279836, 0.057584696, -0.0041742898) * input_3(-1.0, 0.0);
    result += mat4(-0.036844533, 0.036799897, 0.008819388, 0.0064167096, 0.020964116, -0.05294078, -0.031490248, 0.01156817, -0.0018981447, -0.22479428, 0.7289183, -0.07653977, 0.017204901, -0.0023223, 0.033593033, -0.0125410445) * input_3(-1.0, 1.0);
    result += mat4(-0.012507756, -0.007592364, -0.033984456, 0.021325748, -0.03350388, 0.04562711, -0.21891002, -0.040979534, 0.048948564, -0.010435286, 0.06185374, -0.00520297, -0.09001506, 0.23205377, -0.07107931, -0.029052129) * input_3(0.0, -1.0);
    result += mat4(0.34423703, -0.0468059, 0.4614967, 0.045049153, 0.18938811, -0.29867828, -0.55677134, 0.081852175, 0.11913736, 0.16310476, -0.060603637, 0.22155708, -0.02429353, 0.3103867, -0.33328027, 0.047941953) * input_3(0.0, 0.0);
    result += mat4(0.07953605, 0.061014794, 0.13518439, -0.006659919, 0.09519462, -0.06833837, -0.14058419, 0.027775604, -0.10384774, -0.13569292, -0.0116059175, -0.044137966, -0.11614308, 0.11766875, 0.10766666, 0.057810903) * input_3(0.0, 1.0);
    result += mat4(0.0035690395, -0.02686125, -0.019853404, 0.025848703, 0.008941602, -0.027229767, -0.020670973, -0.004578142, 0.18093793, 0.09171396, -0.0627525, -0.0002527892, 0.06361253, 0.08785034, 0.100549705, -0.011391305) * input_3(1.0, -1.0);
    result += mat4(0.036299177, 0.0036075935, -0.103007115, 0.030000964, -0.08745834, -0.12467769, -0.012374186, 0.027180633, -0.5763079, 0.12384634, 0.20923251, 0.07261496, -0.1240559, 0.22217487, 0.36342487, 0.01283771) * input_3(1.0, 0.0);
    result += mat4(0.015921379, 0.054521162, 0.03692143, 0.008500603, -0.13165379, 0.060669538, 0.044661887, -0.0087519325, -0.34214747, -0.04988014, 0.048471764, 0.051659666, -0.6070081, 0.17114821, 0.18109176, -0.007819243) * input_3(1.0, 1.0);
    result += vec4(0.039017756, -0.033315852, 0.024638934, 0.22464214);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-4-ReLU)
//!HOOK MAIN
//!BIND conv2d_3_tf
//!BIND conv2d_3_tf1
//!BIND conv2d_3_tf2
//!BIND conv2d_3_tf3
//!SAVE conv2d_4_tf
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_3_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_3_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_3_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_3_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.16187763, 0.06711506, -0.121293895, 0.4199616, 0.12149261, 0.02889151, 0.0074428986, 0.008488878, -0.0001845907, -0.04399323, -0.007412405, -0.02131518, -0.013018415, 0.009086342, -0.03014699, -0.03999747) * input_0(-1.0, -1.0);
    result += mat4(0.04621796, -0.08786051, 0.010083683, 0.0043834876, 0.06208946, 0.034464534, -0.032627217, 0.06952611, 0.030856134, 0.020418199, -0.06984363, -0.070283055, -0.019601908, 0.05201445, -0.022101514, -0.03839741) * input_0(-1.0, 0.0);
    result += mat4(-0.033369947, -0.08151074, -0.031310294, -0.021325719, 0.020207426, -0.0008339996, 0.010006217, -0.016722986, 0.022103406, 0.018320287, -0.009704738, 0.024417905, -0.031114412, -0.026829863, 0.0072603077, 0.008199678) * input_0(-1.0, 1.0);
    result += mat4(0.19026159, -0.042807855, 0.07201282, -0.08186681, 0.38274074, 0.37299272, -0.037153948, -0.07714792, -0.12992603, -0.079928264, -0.04523569, -0.07733743, 0.0773365, 0.053829774, -0.056585006, -0.0034473818) * input_0(0.0, -1.0);
    result += mat4(0.013534208, -0.064405486, 0.041627996, 0.028102025, -0.30527982, -0.16810276, -0.12784208, -0.0067650345, -0.20884658, -0.17808795, 0.21842697, -0.014833733, 0.2065491, 0.3979484, -0.03253062, 0.21502765) * input_0(0.0, 0.0);
    result += mat4(-0.08309392, -0.06177544, -3.942442e-05, -0.05013291, 0.008186139, 0.017452184, -0.022959346, -0.041556247, 0.022792857, 0.016155705, -0.026379772, -0.0226576, -0.025072036, 0.0010812434, 0.012306428, 5.4881668e-05) * input_0(0.0, 1.0);
    result += mat4(0.0006195549, 0.0038465783, -0.010449441, -0.03273318, 0.10610953, 0.29804823, -0.03078257, 0.062339947, 0.04704717, 0.07334505, 0.081606336, 0.047790743, 0.047166776, 0.046757337, 0.001457486, 0.04889283) * input_0(1.0, -1.0);
    result += mat4(-0.020958884, -0.066248156, -0.04961415, -0.035266273, -0.03194122, -0.057893872, -0.022186147, -0.13367386, -0.115510814, 0.029240685, 0.25661466, 0.012413034, -0.12856261, 0.00019641983, 0.1373768, 0.08926594) * input_0(1.0, 0.0);
    result += mat4(-0.01861935, -0.046093263, -0.011285927, -0.019121425, 0.031072265, -0.036036, -0.0033041704, -0.02612553, -0.07298761, -0.06112809, 0.12683915, -0.04799081, -0.0056283595, -0.048240487, 0.062134136, -0.014961444) * input_0(1.0, 1.0);
    result += mat4(-0.02191153, -0.012787206, -0.015635861, -0.03762072, 0.036869105, -0.0023680376, 0.0038025975, -0.019225333, -0.18030784, 0.088079885, 0.04576688, -0.051045615, 0.0168526, -0.020520324, -0.046235934, -0.053227186) * input_1(-1.0, -1.0);
    result += mat4(0.03308249, 0.026956867, 0.034637343, -0.027123306, -0.10187181, -0.016714009, 0.07820069, 0.002310883, -0.0667957, 0.12103491, 0.088497825, -0.098297186, -0.025875283, -0.017658528, -0.048947588, -0.015267791) * input_1(-1.0, 0.0);
    result += mat4(-0.131467, -0.014227715, -0.0004265677, -0.061196126, 0.06878024, 0.048245765, -0.06670543, 0.052770097, -0.026915273, -0.021150474, 0.017293459, -0.08093007, -0.011937269, 0.0047427076, -0.009129021, -0.015306196) * input_1(-1.0, 1.0);
    result += mat4(0.014151551, -0.042952567, -0.04797657, 0.020084122, 0.20943372, 0.19582795, -0.43619964, -0.08380503, -0.12090033, 0.072753124, -0.024080904, 0.10404562, 0.03571034, -0.04021809, 0.0100547355, -0.03378858) * input_1(0.0, -1.0);
    result += mat4(0.1472228, 0.08115205, -0.25218073, -0.09246854, 0.078365974, 0.22335175, 0.18732685, 0.11278743, -0.041650493, 0.016701298, -0.20181459, -0.089007944, 0.047845237, -0.092613205, 0.05150218, 0.113248676) * input_1(0.0, 0.0);
    result += mat4(-0.06225675, -0.025230533, -0.07319505, 0.03833026, 0.06852246, -0.21004702, 0.08757528, -0.06479817, 0.030392291, -0.11224029, 0.026231473, -0.047975708, 0.09974597, 0.021662623, -0.04877575, 0.04124525) * input_1(0.0, 1.0);
    result += mat4(0.33047104, 0.011015956, -0.018277587, -0.12563436, -0.3466145, -0.9169092, -0.45972413, -0.24895896, -0.117801055, -0.043963715, -0.079615705, 0.13044539, -0.123182386, 0.009587864, 0.031920407, -0.011298647) * input_1(1.0, -1.0);
    result += mat4(0.638084, 0.6657869, -0.11382252, 0.01013989, -0.37120858, 0.06780796, 0.22414632, -0.070192516, -0.08773588, 0.027352935, -0.0068883155, 0.006789428, 0.09656085, -0.050450955, -0.08499797, -0.09049427) * input_1(1.0, 0.0);
    result += mat4(-0.34407312, -0.19313149, -0.21067454, -0.012801892, -0.060265608, 0.031826045, 0.004524418, -0.013643581, 0.040342703, -0.052504178, 0.024176793, -0.0033226383, 0.19136462, 0.12568496, -0.120338716, 0.06628477) * input_1(1.0, 1.0);
    result += mat4(0.017206226, -0.01180773, 0.03268817, 0.071337715, 0.052622832, 0.026616002, 0.15568565, 0.014903665, -0.012227665, -0.00021305824, 0.024102246, 0.015740417, -0.013651289, -0.018070875, -0.018652799, -0.040522993) * input_2(-1.0, -1.0);
    result += mat4(-0.019647773, -0.050999936, 0.0042611863, 0.02026313, -0.14651416, 0.029260205, -0.28115737, -0.035278007, -0.057840124, -0.022715423, 0.004849947, 0.01422841, 0.08692521, -0.0039584897, -0.00797783, -0.04358536) * input_2(-1.0, 0.0);
    result += mat4(-0.07238845, -0.03145148, 0.027814087, -0.058443107, 0.033829592, 0.1201561, -0.0201957, 0.12092359, 0.041804478, 0.03496045, 0.007822618, -0.0053445552, -0.0010057318, -0.023288649, 0.042126343, -0.075705245) * input_2(-1.0, 1.0);
    result += mat4(-0.011962378, -0.04319763, -0.0041422574, -0.024268223, -0.0037587823, 0.041474253, 0.004684433, -0.00034755436, 0.1099699, 0.027839312, -0.030250909, 0.057701733, -0.019997379, -0.04736944, 0.026529273, -0.03239124) * input_2(0.0, -1.0);
    result += mat4(0.115946084, -0.21082507, -0.035228368, -0.015961604, 0.07187679, -0.22235268, -0.024287064, 0.03908934, 0.22187069, 0.052670572, 0.017349057, -0.035659924, 0.17231746, 0.11039546, 0.016284537, 0.22917841) * input_2(0.0, 0.0);
    result += mat4(-0.11273669, 0.15550587, -0.07504025, 0.26472583, 0.011776517, -0.0015957983, 0.036470827, 0.007279502, -0.29813108, 0.06316528, 0.050483286, 0.05125742, -0.03919668, -0.29395318, 0.0071862508, -0.23028223) * input_2(0.0, 1.0);
    result += mat4(-0.03483502, -0.01918499, 0.011605864, -0.06340492, 0.027419975, -0.01364476, -0.07349979, -0.015059473, 0.08339588, 0.005795515, 0.01801789, -0.05599766, -0.0024417746, -0.015300346, -0.026964925, 0.022319485) * input_2(1.0, -1.0);
    result += mat4(-0.062720336, -0.023826234, -0.035207625, 0.019800954, -0.022463819, 0.047906063, 0.021494914, -0.049467046, -0.031520266, -0.16160391, 0.020212175, -0.030218227, 0.114245065, -0.048302013, -0.029033482, -0.16656856) * input_2(1.0, 0.0);
    result += mat4(0.005871108, -0.0004926795, 0.06551096, 0.04812643, 0.013305979, 0.018051093, 0.078208834, 0.022808764, -0.080937706, 0.21767695, -0.14636745, -0.06747632, 0.029332645, 0.071831696, -0.09464734, 0.0011738375) * input_2(1.0, 1.0);
    result += mat4(-0.642395, -0.26879877, 0.31359714, 0.20488712, 0.022039462, -0.001429215, -0.022035656, -0.0813734, 0.013181743, -0.014417375, -0.0065785088, -0.042476647, -0.026204344, -0.06479538, -0.05549176, -0.1275497) * input_3(-1.0, -1.0);
    result += mat4(-0.2466568, 0.05271226, -0.07322292, 0.08106009, -0.055130318, -0.05167677, -0.024798084, 0.13427925, 0.010516189, -0.0064827832, -0.103975475, -0.048295077, 0.15262847, 0.16789106, 0.047358852, -0.01901287) * input_3(-1.0, 0.0);
    result += mat4(-0.1178093, -0.008130031, 0.018499823, 0.051168233, 0.041642983, 0.08508781, 0.084937125, 0.027656183, 0.028137445, 0.055800732, -0.021674778, -0.022528613, -0.058884673, 0.025686925, 0.02483699, -0.039059456) * input_3(-1.0, 1.0);
    result += mat4(-0.21389252, 0.02451858, 0.46084186, 0.1566393, -0.12106145, 0.006888293, 0.04082143, 0.11082666, -0.06711556, 0.080498956, -0.03197353, -0.023806216, -0.17812777, 0.00094289443, 0.024066929, 0.11954116) * input_3(0.0, -1.0);
    result += mat4(0.006037238, -0.09298363, 0.5281654, -0.09335908, -0.1555279, -0.19530106, -0.023511237, -0.3293143, 0.026999298, 0.2010749, 0.4977538, 0.59438443, 0.3380406, 0.010329124, 0.20554669, 0.029661091) * input_3(0.0, 0.0);
    result += mat4(0.045401696, 0.1335459, 0.020884456, 0.074442476, 0.017468406, 0.028941942, -0.049268346, 0.044283535, 0.11686535, 0.16306323, 0.1125128, 0.053653996, -0.17361352, -0.09135585, -0.18082936, 0.012037709) * input_3(0.0, 1.0);
    result += mat4(-0.039797682, -0.017375845, 0.03508567, 0.0076790764, 0.07447144, -0.0031947948, -0.018227555, -0.029443774, -0.060201034, 0.021804629, 0.03447843, 0.009312208, -0.007056903, -0.017366387, 0.049705427, -0.07469515) * input_3(1.0, -1.0);
    result += mat4(0.084145136, 0.007752238, -0.053889647, 0.032679506, -0.0364249, 0.08639111, -0.013320499, 0.06391494, 5.8461213e-05, 0.1411729, 0.14355114, 0.0085126525, 0.04792094, -0.08750583, -0.13656515, 0.027518911) * input_3(1.0, 0.0);
    result += mat4(-0.047192745, 0.007946982, 0.011796747, -0.00074236066, -0.038796168, -0.09271469, -0.006543317, -0.01696844, 0.020844059, 0.004446934, 0.06939017, 0.008244636, -0.071977496, -0.047178462, -0.0054979203, -0.0049839797) * input_3(1.0, 1.0);
    result += vec4(-0.024903461, 0.01607702, -0.0032957993, 0.0030522924);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-4-ReLU)
//!HOOK MAIN
//!BIND conv2d_3_tf
//!BIND conv2d_3_tf1
//!BIND conv2d_3_tf2
//!BIND conv2d_3_tf3
//!SAVE conv2d_4_tf1
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_3_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_3_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_3_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_3_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.21857141, -0.035798453, 0.09277071, 0.39397094, -0.046518788, -0.011544215, 0.07388344, 0.0589381, -0.025826966, 0.013392446, -0.016110837, 0.0052531282, 0.0033461687, -0.0071958387, -0.046509214, -0.061585046) * input_0(-1.0, -1.0);
    result += mat4(0.014681603, 0.070877515, 0.19324353, 0.019658253, -0.0162363, -0.007067608, 0.023269223, 0.048975516, 0.047761478, -0.019899739, -0.110583805, -0.018933559, -0.026117034, -0.022141462, -0.013049256, -0.08629603) * input_0(-1.0, 0.0);
    result += mat4(0.020829445, -0.007363796, -0.035321653, -0.07453712, -0.024626845, 0.0021698882, -0.056956895, -0.012031551, 0.035109494, -0.0042967843, -0.0051172823, -0.025850814, -0.047052417, 0.009169474, 0.02445241, -0.059616227) * input_0(-1.0, 1.0);
    result += mat4(-0.031944368, -0.031879477, 0.14931716, 0.08474022, 0.032560848, 0.24817526, 0.29154843, 0.20007484, 0.034669496, -0.012074248, 0.112903625, -0.055163153, 0.0045844256, 0.0025544744, -0.05606248, 0.028237691) * input_0(0.0, -1.0);
    result += mat4(-0.05537033, -0.006326227, 0.055039715, -0.13379595, 0.42858356, -0.007958921, -0.31349668, -0.19111383, -0.08667217, 0.07082593, 0.22919668, -0.0408379, 0.071160376, -0.062200166, 0.34342587, 0.348649) * input_0(0.0, 0.0);
    result += mat4(-0.029383283, -0.01939741, -0.015105529, -0.012259122, -0.002303106, 0.009745161, 0.05436303, -0.1025446, -0.050837573, -0.027819477, 0.17568511, 0.12912993, 0.10097043, 0.006943489, 0.04324843, -0.014680755) * input_0(0.0, 1.0);
    result += mat4(0.013404553, -0.007937764, -0.08344233, -0.06484497, -0.05666459, 0.09291701, -0.077047475, 0.073771946, 0.047568742, -0.0053810272, 0.09306394, 0.012039333, 0.018137597, -0.016491197, -0.061764542, 0.042092957) * input_0(1.0, -1.0);
    result += mat4(-0.024831368, 0.0024777935, 0.0020486042, -0.072899535, 0.057410978, 0.0010760844, -0.02660122, 0.23267008, 0.06498918, -0.028022883, 0.052197337, 0.069846526, -0.011895539, 0.0068017, -0.030524507, -0.0737841) * input_0(1.0, 0.0);
    result += mat4(-0.036556896, -0.0020203348, -0.038784154, -0.022146802, -0.014079088, -0.0014513264, -0.013987216, -0.011457558, 0.008653705, -0.027596569, -0.07826477, -0.032613225, -0.019319417, -0.0011521665, -0.03873811, -0.00048378794) * input_0(1.0, 1.0);
    result += mat4(-0.009335548, -0.019695384, 0.006078621, -0.03238834, 0.015288615, 0.01190497, 0.07458044, -0.08655515, -0.03536712, 0.0020600553, 0.020534521, -0.08995177, -0.0055162315, 0.0056557683, 0.014623731, -0.0025253478) * input_1(-1.0, -1.0);
    result += mat4(0.0010052891, 0.0060949465, 0.11544323, -0.06445318, -0.037621688, 0.029011462, 0.014581437, 0.07040698, -0.06999123, -0.012768469, 0.10421932, -0.17805482, 0.029682033, -0.013894239, -0.092911385, -0.064389735) * input_1(-1.0, 0.0);
    result += mat4(-0.08509393, 0.03527778, 0.03090057, -0.024104087, 0.047147114, 0.012915546, -0.024909109, -0.017911747, -0.029488495, 0.005458308, 0.028388374, -0.16819388, -0.027405843, -0.0133739095, -0.008105971, -0.0016287637) * input_1(-1.0, 1.0);
    result += mat4(-0.012903199, -0.004312147, -0.0762817, -0.017003238, -0.109919585, 0.08608743, -0.062997855, 0.025365349, 0.000727666, 0.0011809856, -0.016169548, 0.058440547, 0.0032699779, -0.023644572, 0.017124917, -0.006792468) * input_1(0.0, -1.0);
    result += mat4(-0.012771901, -0.04861295, 0.106599554, -0.06998188, 0.30238196, 0.3765763, -0.36395213, -0.11913055, -0.07310295, 0.010620063, -0.27117643, -0.13345838, 0.08580513, 0.061947886, 0.28404078, -0.06687784) * input_1(0.0, 0.0);
    result += mat4(0.16619067, 0.02460287, -0.02780905, -0.028490834, -0.093950994, -0.02130338, 0.04771306, 0.06152483, 0.044017673, 0.022549404, 0.114876725, 0.08696137, -0.12086309, -0.017778086, -0.09208242, 0.053744633) * input_1(0.0, 1.0);
    result += mat4(0.023584321, -0.036554687, -0.108931296, -0.06630106, -0.09733051, -0.023288865, -0.6395764, -0.35876417, -0.050515033, 0.032133188, 0.020496724, -0.07243307, -0.037880983, 0.042084783, 0.031931967, -0.05295225) * input_1(1.0, -1.0);
    result += mat4(-0.15137322, 0.0465718, 0.12896253, 0.27593517, -0.005017875, 0.050892815, -0.021542238, 0.23269345, 0.015385144, -0.019514691, -0.06348803, 0.15893139, 0.07486548, -0.107265435, 0.1980396, 0.20307189) * input_1(1.0, 0.0);
    result += mat4(0.19657178, -0.0570951, -0.30366737, 0.15630873, 0.003718946, -0.021928959, -0.0038349533, -0.06645416, 0.046825424, 0.0047225445, -0.10942764, 0.07503552, 0.13610682, 0.046597667, 0.23319021, -0.24832848) * input_1(1.0, 1.0);
    result += mat4(0.0036375239, -0.009448151, 0.10273832, 0.04333506, 0.06348295, 0.025728285, -0.0050206203, 0.086301066, 0.0030645223, -0.017394388, 0.013364459, 0.008592028, 0.0055791503, 0.011377312, 0.0026919763, -0.018283349) * input_2(-1.0, -1.0);
    result += mat4(0.060213167, 0.018130757, 0.016230762, 0.0015265155, 0.20277245, 0.17115459, -0.19092774, 0.007689005, -0.055694416, -0.00077552523, 0.025060004, 0.040547166, 0.018875515, -0.002400981, -0.18341054, -0.04188664) * input_2(-1.0, 0.0);
    result += mat4(-0.09786227, 0.029987533, 0.11374658, 0.12195976, 0.029442372, 0.07404571, 0.16742551, -0.10751441, 0.023379132, -0.0045344136, -0.00083817635, -0.015305623, 0.028660793, 0.0013672978, -0.056606088, -0.09710575) * input_2(-1.0, 1.0);
    result += mat4(-0.023434507, 0.006183451, 0.032352168, -0.06324821, -0.002252076, -0.005130999, -0.00058223325, 0.018465666, -0.00068276847, 0.025295991, 0.018099178, 0.012383122, -0.0070996196, -0.007697633, -0.06290125, -0.023327768) * input_2(0.0, -1.0);
    result += mat4(0.014688914, -0.025919853, -0.43240562, -0.13425232, -0.15546545, 0.057826214, 0.32211056, -0.0473212, 0.12092917, 0.10724026, -0.16991495, 0.0050286767, 0.06719287, 0.05811949, 0.20047791, 0.23017982) * input_2(0.0, 0.0);
    result += mat4(0.16302274, 0.03520735, 0.079347745, 0.15491994, -0.077441566, -0.04287905, 0.081585035, 0.09368462, -0.069922835, -0.18258695, -0.10852194, -0.042010237, -0.16346593, -0.036990974, 0.17096938, -0.018454311) * input_2(0.0, 1.0);
    result += mat4(-0.0023198787, 0.025403854, -0.013775349, -0.019734891, -0.012148869, 0.007968952, -0.036262847, -0.06824115, 0.044032197, -0.010112973, -0.041385558, 0.0445428, -0.010449076, -0.014473051, 0.038658835, -0.0010687802) * input_2(1.0, -1.0);
    result += mat4(-0.04404096, -0.02589268, 0.042630337, -0.004482437, 0.029920286, -0.001794823, -0.105892494, -0.071077615, -0.049338806, 0.05052768, -0.018619716, -0.20026255, 0.073194966, -0.022871362, -0.089484036, 0.075616136) * input_2(1.0, 0.0);
    result += mat4(0.02702488, 0.007678793, -0.11315745, -0.020504292, 0.008663973, -0.0045091547, -0.03868181, -0.019499337, -0.13647762, 0.008808134, -0.0014072122, 0.1019495, -0.052590244, 0.011322468, 0.009961252, -0.15485032) * input_2(1.0, 1.0);
    result += mat4(-0.2362178, 0.7181725, 0.14941177, 0.165178, -0.039101854, -0.018202094, -0.03789553, 0.0019911535, -0.01147174, -0.0014907215, 0.0034360236, -0.027771065, -0.04862588, 0.0025287063, -0.04855051, -0.0561993) * input_3(-1.0, -1.0);
    result += mat4(0.3915025, 0.16015694, 0.09604767, -0.28733248, 0.08835619, 0.00068870035, -0.18192573, -0.12153441, -0.0033574456, -0.026649255, -0.14529915, -0.009431875, 0.0794038, 0.0061495975, -0.11779603, 0.056133877) * input_3(-1.0, 0.0);
    result += mat4(-0.070612095, 0.02000796, 0.081064425, 0.07314244, -0.082983196, 0.013131932, 0.03498433, 0.17283063, 0.04717637, -0.006979318, -0.05432952, 0.03538957, 0.046971723, -0.050638728, -0.04562181, -0.012750745) * input_3(-1.0, 1.0);
    result += mat4(0.020870337, -0.025798708, -0.010342239, -0.2416762, -0.022130167, 0.028366225, 0.059260197, -0.03937263, -0.05222408, 0.0009483409, 0.10138956, 0.092897266, 0.009626849, -0.03457758, 0.11545798, 0.08299753) * input_3(0.0, -1.0);
    result += mat4(0.27298784, -0.054075766, -0.13988873, 0.35445887, -0.1779024, -0.011723918, -0.23447065, 0.1365652, 0.24289228, 0.11304067, 0.2624808, 0.63082504, -0.088424236, 0.30286366, 0.11704701, -0.14983541) * input_3(0.0, 0.0);
    result += mat4(0.117487095, 0.025896536, -0.014373648, -0.020855831, 0.024299715, -0.0049338927, -0.17667516, -0.26760957, -0.14440522, 0.05390531, 0.17875244, 0.06290711, 0.08136904, -0.036055416, -0.27367303, 0.03384978) * input_3(0.0, 1.0);
    result += mat4(-0.0014967989, 0.0016073623, 0.05899629, 0.07680208, 0.051011555, -0.0071187085, -0.10070356, 0.019081688, -0.011657244, 0.0019376734, -0.06580395, -0.027764054, 0.0011096242, -0.008255766, -0.027246373, -0.020141369) * input_3(1.0, -1.0);
    result += mat4(-0.0019617595, -0.0026269776, 0.075938225, 0.040075205, 0.0060438183, 0.010660916, -0.028074253, -0.09870982, 0.042685274, -0.025404083, -0.26780427, -0.020479389, -0.0687282, 0.026919875, 0.2415103, -0.08593006) * input_3(1.0, 0.0);
    result += mat4(0.013718653, -0.0016230395, 0.008218964, 0.020896398, -0.0003849747, -0.010288638, 0.060017925, 0.07284559, 0.02230345, 0.03992658, -0.07013069, -0.046852887, -0.021910593, -0.032863796, 0.029923294, 0.13106419) * input_3(1.0, 1.0);
    result += vec4(-0.0008056181, 0.0003291228, -0.0012432416, -0.0023413158);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-4-ReLU)
//!HOOK MAIN
//!BIND conv2d_3_tf
//!BIND conv2d_3_tf1
//!BIND conv2d_3_tf2
//!BIND conv2d_3_tf3
//!SAVE conv2d_4_tf2
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_3_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_3_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_3_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_3_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.04132755, 0.4845548, 0.187203, -0.16561909, 0.14324154, 0.049569707, -0.007900639, 0.06943969, 0.05069826, -0.022770736, -0.03528539, -0.022601793, 0.066726826, 0.039540935, -0.049319725, -0.023937872) * input_0(-1.0, -1.0);
    result += mat4(-0.019515777, -0.15176824, 0.0087233, 0.06166184, 0.021589309, 0.009049289, 0.005795279, 0.0009071535, -0.031266347, 0.08206887, -0.020912837, -0.051286172, -0.07512824, -0.038352087, -0.14698352, 0.03877762) * input_0(-1.0, 0.0);
    result += mat4(0.007488947, 0.020453224, -0.06690528, -0.031533692, -0.026341856, 0.07579273, -0.043187696, -0.002503013, 0.007283978, 0.0008592548, 0.005706758, -0.030723078, -0.0015553745, -0.03664063, 0.003429719, 0.027590105) * input_0(-1.0, 1.0);
    result += mat4(0.007919406, 0.0064200484, -0.09850329, 0.7443481, 0.13668221, 0.17589016, -0.08579045, 0.1932501, 0.0044841673, -0.026224945, 0.016450036, 0.06732247, -0.034154873, 0.08297198, -0.06311458, -0.1309858) * input_0(0.0, -1.0);
    result += mat4(-0.006349668, -0.14694244, 0.05539705, 0.29225457, -0.011685098, 0.25453427, -0.17639391, 0.06394873, 0.013870751, -0.21682103, -0.07499721, 0.21747078, 0.24390541, -0.12605187, 0.13211119, -0.111506596) * input_0(0.0, 0.0);
    result += mat4(-0.022754531, 0.00458171, -0.022035755, -0.050821446, 0.008157019, -0.15955865, 0.0075175613, -0.023155391, 0.0103418585, -0.10600455, 0.033261925, -0.0041928147, -0.060472813, 0.21925522, 0.063774, -0.020314513) * input_0(0.0, 1.0);
    result += mat4(0.0036495281, 0.017904468, -0.027454874, -0.026914792, 0.057700027, 0.23177285, 0.10764401, 0.0038637063, -0.020751167, -0.082470864, 0.0229106, -0.0947416, -0.019139396, 0.023510724, -0.012733432, -0.12553377) * input_0(1.0, -1.0);
    result += mat4(0.01998482, -0.08462129, -0.069917604, 0.090306215, 0.050512873, -0.014739567, -0.0650236, -0.31299078, 0.057081923, -0.06681079, -4.926026e-05, -0.43013054, -0.0069398014, -0.19757478, -0.023721095, 0.36963224) * input_0(1.0, 0.0);
    result += mat4(-0.002610791, 0.03407615, -0.03380562, -0.02262201, -0.015113118, -0.034866106, -0.0062124273, 0.013814365, -0.007864851, -0.034446474, -0.0681444, 0.18439278, 0.029393343, 0.068995684, -0.03322299, 0.14124249) * input_0(1.0, 1.0);
    result += mat4(-0.015806971, 0.0010596671, -0.020284763, 0.0052180677, 0.0016853074, 0.0026927977, 0.06605858, -0.007026439, -0.0017233482, -0.05351044, -0.02774484, -0.02505907, 0.01232311, -0.07024508, -0.06721751, 0.0033994596) * input_1(-1.0, -1.0);
    result += mat4(0.008342611, 0.018192904, -0.020825954, 0.0128913885, 0.043839235, -0.029198162, 0.0011605041, 0.010493472, -0.15096308, -0.1790728, -0.2455215, 0.1532116, -0.008216566, 0.042524025, -0.020720549, -0.029204126) * input_1(-1.0, 0.0);
    result += mat4(0.044298843, -0.018266292, 0.0005798383, -0.052378885, -0.018715471, 0.03564165, -0.02816324, -0.023001881, -0.02390305, -0.047548622, 0.013597133, 0.014467666, -0.009357427, -0.056649756, -0.021509277, 0.031656142) * input_1(-1.0, 1.0);
    result += mat4(-0.06359223, -0.008073239, -0.005992918, -0.08425581, -0.345264, -0.06215325, 0.0039157853, -0.12768091, 0.10351492, -0.09324524, -0.12517089, 0.0047490834, 0.047575638, -0.07080035, -0.0343173, -0.031266935) * input_1(0.0, -1.0);
    result += mat4(0.012993748, 0.070711024, -0.057018742, -0.12699443, 0.009611862, 0.12737513, -0.07158735, 0.041655015, 0.037591286, -0.52741164, -0.028625442, -0.33256298, 0.19605576, 0.15918373, 0.013973168, 0.0043472215) * input_1(0.0, 0.0);
    result += mat4(-0.06263645, 0.00011249594, -0.0059331646, -0.059385277, 0.0076464117, 0.059808865, 0.08858524, -0.016371023, -0.09171103, 0.18212841, 0.16264935, -0.12513591, 0.028514288, 0.08551901, -0.06873474, -0.077767685) * input_1(0.0, 1.0);
    result += mat4(-0.021388378, -0.06968467, -0.07963909, -0.24596223, -0.35200417, -1.0561471, -0.23485833, 0.1692807, 0.0077661057, -0.18671887, -0.027137939, 0.01383689, 0.043756414, 0.016673911, -0.010817728, 0.06231073) * input_1(1.0, -1.0);
    result += mat4(0.03525412, 0.2227536, 0.008425977, 0.28444216, -0.08422442, -0.08404222, -0.15047695, -0.096783355, 0.0123173585, -0.09244753, 0.06285528, -0.14296152, 0.07840276, 0.30837357, -0.03693585, -0.26297686) * input_1(1.0, 0.0);
    result += mat4(0.1366271, 0.4233548, -0.08495992, 0.11962848, 0.030518422, 0.037316326, 0.0863381, 0.12385957, 0.0171029, 0.017202051, 0.012825019, 0.25938803, 0.022162441, -0.2331108, 0.07759715, -0.13795847) * input_1(1.0, 1.0);
    result += mat4(-0.007008742, -0.048849165, 0.019905763, 0.052441735, -0.02460507, -0.019789161, 0.0037052175, -0.1872508, -0.025355328, 0.028786244, 0.04500749, 0.015389237, -0.0027902175, 0.008768356, -0.0110623, 0.022862107) * input_2(-1.0, -1.0);
    result += mat4(0.02508603, 0.048855558, 0.109806426, -0.057781324, 0.0707926, -0.021070288, 0.08280041, -0.12282556, 0.025591489, -0.028819755, -0.06954876, -0.014263017, 0.024910333, 0.08162264, 0.003647179, -0.0022490832) * input_2(-1.0, 0.0);
    result += mat4(0.09286938, -0.052316945, 0.05025733, -0.028586714, 0.03744185, -0.1623673, 0.07178501, -0.21005878, 0.0069803554, -0.03350439, 0.047972094, 0.019499272, 0.020804988, -0.055275615, -0.008846857, -0.062296286) * input_2(-1.0, 1.0);
    result += mat4(0.004825414, -0.08760982, 0.004622849, 0.04463165, -0.056192856, 0.008265844, 0.067360386, 0.21953097, 0.03077145, 0.009134959, -0.0024328767, -0.0617139, -0.058080938, -0.043531407, 0.026583128, 0.046162266) * input_2(0.0, -1.0);
    result += mat4(0.07368302, 0.102332845, -0.16248299, -0.17185952, 0.008789311, -0.15509874, -0.3103104, 0.3306499, 0.72829926, -0.064540826, 0.048288222, 0.023217514, -0.13423166, 0.47109926, 0.17278202, -0.14805792) * input_2(0.0, 0.0);
    result += mat4(-0.17986594, 0.007267826, -0.008324828, -0.13182464, 0.032354232, 0.1284073, -0.020439541, 0.11201212, 0.060762424, 0.0032349408, 0.2996968, -0.02436163, 0.0877955, -0.21712185, -0.029873159, 0.06467657) * input_2(0.0, 1.0);
    result += mat4(-0.023764592, -0.00056891586, -0.0015967058, 0.07469773, -0.003377393, -0.012400228, 0.008991559, 0.045593094, -0.06435867, 0.066095814, 0.037611242, 0.04882506, 0.038832832, -0.053530984, -0.0154496115, -0.070810616) * input_2(1.0, -1.0);
    result += mat4(0.014055437, 0.05285853, -0.096031174, -0.15671255, -0.027887234, -0.017500771, -0.009618946, 0.080292545, 0.1852911, -0.022205606, -0.09886275, 0.11623058, -0.029230256, 0.1341685, 0.046013642, 0.124078296) * input_2(1.0, 0.0);
    result += mat4(0.024198553, -0.004768435, -0.07756263, 0.4082107, -0.017281627, 0.0399533, 0.009535657, -0.047222894, 0.1625013, 0.09628236, 0.049211226, -0.17260483, -0.053088035, -0.02686995, 0.060161233, -0.0809658) * input_2(1.0, 1.0);
    result += mat4(0.01366214, -0.1731357, -0.3958377, 0.07023845, -0.09559145, -0.12736408, -0.054537013, -0.04414444, -0.024934063, -0.0052163447, -0.016073763, -0.060751814, -0.09798678, 0.004163427, -0.070298776, -0.08183896) * input_3(-1.0, -1.0);
    result += mat4(-0.047104485, 0.15934397, -0.13137269, 0.11289349, -0.13839076, 0.1980466, 0.03787426, 0.0024978616, 0.0049939305, 0.14670464, 0.04408491, -0.09777254, -0.0049352306, 0.11916069, 0.1546518, -0.00871937) * input_3(-1.0, 0.0);
    result += mat4(0.011354879, -0.00924758, 0.05648792, 0.112200685, -0.05887827, -0.17911538, 0.034369152, 0.1202472, -0.008090869, -0.13430856, 0.01986176, -0.030126572, 0.035118483, -0.019581534, 0.006274872, 0.06973527) * input_3(-1.0, 1.0);
    result += mat4(-0.011488529, -0.07174155, -0.050905563, -1.0869832, -0.08069899, -0.11701443, 0.02742745, 0.20972393, -0.031739622, -0.09260766, 0.021752605, -0.023464883, 0.10715132, 0.22004199, 0.14531352, 0.022030583) * input_3(0.0, -1.0);
    result += mat4(0.10669231, 0.20462787, 0.10356388, -0.049163237, -0.08447278, -0.20697753, -0.091097504, -0.24337313, -0.025441993, 0.4186066, 0.4950891, 0.022752266, -0.103942305, -0.4939988, 0.22722079, 0.2755408) * input_3(0.0, 0.0);
    result += mat4(-0.022308607, -0.0751117, -0.0328995, -0.08988229, -0.0144046545, 0.034133013, -0.0053339773, 0.06223932, -0.03647153, -0.31412396, 0.14877075, 0.018239418, -0.033035293, 0.17353034, -0.19062448, -0.084375836) * input_3(0.0, 1.0);
    result += mat4(-0.0075191576, -0.0090480475, -0.016977329, 0.036069237, -0.00066334713, -0.011176804, 0.02122766, -0.07749142, -0.009124371, -0.028487492, 0.037162986, 0.0819592, -0.02139919, 0.012784603, -0.011147728, 0.10214434) * input_3(1.0, -1.0);
    result += mat4(0.015525538, -0.006472671, 0.07722279, -0.11207632, -0.022016918, -0.18714358, 0.015441689, -0.064588, -0.03858081, 0.13260432, 0.13931216, 0.35525692, 0.051994555, -0.097918086, -0.19437392, -0.1498717) * input_3(1.0, 0.0);
    result += mat4(0.0041238912, 0.02032218, -0.04739691, 0.043936905, 0.025260778, 0.108322516, -0.024528602, -0.03710148, -0.020893626, -0.0983262, -0.035346497, 0.18914886, 0.03433058, 0.07217218, -0.033168975, -0.16541061) * input_3(1.0, 1.0);
    result += vec4(0.005975745, -0.009010862, -0.008778064, -0.0043728533);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-4-ReLU)
//!HOOK MAIN
//!BIND conv2d_3_tf
//!BIND conv2d_3_tf1
//!BIND conv2d_3_tf2
//!BIND conv2d_3_tf3
//!SAVE conv2d_4_tf3
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_3_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_3_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_3_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_3_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.19559048, 0.14552382, 0.11380017, 0.036010478, -0.64594597, 0.016660685, 0.08990543, 0.024463685, -0.5377156, 0.07612443, 0.0058619506, 0.0032918798, -0.26514325, -0.038255323, 0.03455272, -0.04570034) * input_0(-1.0, -1.0);
    result += mat4(0.039877344, 0.079696745, 0.17375575, -0.028268877, -0.030639872, 0.066474445, 0.0042403564, -0.057908993, -0.0043812674, -0.12679425, -0.051889595, 0.027615912, 0.00509367, -0.021992488, -0.0306293, -0.033976123) * input_0(-1.0, 0.0);
    result += mat4(-0.0041823257, -0.030964766, -0.01789662, -0.04887925, -0.0044895983, -0.02729285, -0.009576985, 0.012812482, -0.0060692322, 0.024785338, -0.043635067, -0.049149156, -0.005574496, 0.009350073, 0.023233537, -0.015534878) * input_0(-1.0, 1.0);
    result += mat4(-0.012639516, -0.040961944, 0.035969492, 0.21063754, -0.6614519, 0.026932564, 0.028928397, -0.119993135, -0.03335636, 0.06286513, -0.017494198, -0.14560713, -0.07643766, -0.06866669, 0.050507415, -0.13400638) * input_0(0.0, -1.0);
    result += mat4(-0.059800025, -0.008533764, 0.034525592, 0.032683887, -0.0063591357, -0.20275879, 0.0040272344, 0.06966852, 0.10055102, -0.00032423384, -0.13938928, -0.1491667, -0.14002125, 0.18595661, 0.21101849, 0.081301615) * input_0(0.0, 0.0);
    result += mat4(0.012548146, -0.019751113, -0.0064242436, 0.005073201, -0.016486946, 0.010908649, -0.0035940707, -0.051174942, 0.005120696, 0.11485723, 0.023293225, 0.03503867, 0.049803816, 0.005342976, 0.059668884, -0.0132557945) * input_0(0.0, 1.0);
    result += mat4(-0.08955817, -0.010949305, -0.026861543, -0.016461702, -0.21966356, 0.018728044, -0.0076737874, -0.16375366, 0.19776767, -0.0085239345, 0.065714076, 0.021572739, -0.10417508, 0.004342217, 0.034117546, 0.06939529) * input_0(1.0, -1.0);
    result += mat4(0.015261302, -0.0007174326, 0.0039210096, -0.054214347, 0.06876424, 0.0047155214, -0.022786157, -0.053853378, -0.07517189, 0.11855246, -0.021818426, -0.07081304, -0.10825346, 0.007861108, -0.08931272, 0.15185077) * input_0(1.0, 0.0);
    result += mat4(0.028701678, -0.007918101, -0.012719314, -0.047911495, -0.022217061, -0.0039878767, 0.002735541, -0.003537925, 0.037762303, 0.042658623, -0.03674535, 0.1532891, 0.012923391, -0.007217117, -0.013744966, 0.057228576) * input_0(1.0, 1.0);
    result += mat4(0.2569899, -0.002978795, -0.00811616, -0.027446136, -0.40277514, 0.07202216, -0.0021480233, -0.08715722, -1.5762165, -0.07780187, 0.1525172, 0.012267833, 0.18120943, 0.011895686, -0.044416714, -0.019307313) * input_1(-1.0, -1.0);
    result += mat4(0.039401956, 0.12870453, -0.0030559332, -0.010842892, -0.0037149386, 0.06233555, 0.0398636, -0.03469198, 0.07304314, -0.10236263, 0.07820583, -0.035935655, -0.003559818, -0.083610885, -0.007465259, 0.033266187) * input_1(-1.0, 0.0);
    result += mat4(0.0004561783, 0.01735116, 0.0048967344, 0.022121508, 0.010607315, -0.036011524, 0.035255, -0.017860826, -0.013825852, 0.044581495, 0.09369889, -0.070595786, 0.01637589, -0.03786433, -0.010337478, 0.0001293896) * input_1(-1.0, 1.0);
    result += mat4(-0.11351451, 0.021488741, 0.00031057594, -0.07387151, -0.6061691, 0.31790856, -0.07017088, 0.36218062, -0.14636894, 0.07389135, 0.043998856, 0.01823375, 0.1658798, 0.030832099, -0.033667915, -0.11149153) * input_1(0.0, -1.0);
    result += mat4(-0.045789026, 0.07912355, -0.015492584, -0.08122148, 0.12989713, 0.24965058, 0.39380023, -0.15066874, -0.062722065, 0.032209817, -0.16711083, -0.19431725, 0.06257091, 0.26115292, 0.07405033, -0.09262107) * input_1(0.0, 0.0);
    result += mat4(0.03429664, -0.13276318, 0.06368466, -0.11759932, 0.011349616, 0.028132407, -0.004346883, -0.044909652, 0.025340494, -0.080696866, 0.029949976, -0.09280721, -0.034239132, 0.08521738, -0.014988645, -0.076389864) * input_1(0.0, 1.0);
    result += mat4(0.015156994, -0.019096898, 0.023481082, -0.017055046, -0.0042979126, -0.3003698, -0.071237616, 0.4933583, 0.15573074, 0.006304791, -0.042173855, 0.06255369, 0.12357472, -0.02287064, -0.06970826, -0.17791276) * input_1(1.0, -1.0);
    result += mat4(-0.0121182995, 0.037482094, -0.31421408, -0.31934616, 0.33744684, -0.010367969, 0.14615385, 0.133859, -0.0052742376, -0.0042027375, -0.10898245, 0.018084385, -0.0048798798, 0.1623933, 0.1210087, 0.024791174) * input_1(1.0, 0.0);
    result += mat4(-0.11295045, 0.12717876, 0.052299693, -0.07560285, -0.19512929, 0.007917926, -0.015659038, 0.07613187, -0.0021367113, -0.025954964, -0.036714755, 0.04657647, -0.1426016, 0.058679868, 0.012108557, -0.23108956) * input_1(1.0, 1.0);
    result += mat4(0.251567, 0.056454074, -0.050827976, 0.036033295, -0.476638, 0.20201568, 0.06913148, 0.022901151, -0.14740509, -0.034741253, 0.013150357, 0.05088471, -0.67283475, -0.01670153, -0.036213424, -0.04131099) * input_2(-1.0, -1.0);
    result += mat4(-0.0101801995, 0.071003266, -0.037521277, -0.04448456, -0.014278372, 0.37975246, 0.19573857, 0.23795345, 0.03316817, -0.075759, -0.013211941, 0.020129517, -0.08582097, 0.14428586, -0.077974774, -0.030822122) * input_2(-1.0, 0.0);
    result += mat4(0.0037243941, 0.1712501, 0.008321567, 0.014998219, -0.008902652, 0.040866304, 0.085237436, 0.04928057, -0.026585367, 0.13890038, 0.003556721, -0.016187793, -0.017042821, -0.07462877, 0.012721671, -0.015456722) * input_2(-1.0, 1.0);
    result += mat4(-0.009802398, 0.031562768, -0.033687774, 0.01506558, -0.02955632, -0.11307868, -0.0076019173, -0.06574052, -0.11081231, 0.035752814, 0.020009557, -0.05803894, -0.32162204, 0.016086163, 0.00824006, 0.05464141) * input_2(0.0, -1.0);
    result += mat4(-0.22979367, -0.17699681, -0.08499327, 0.22376142, 0.085384, -0.22907813, -0.0023419445, 0.044477075, -0.18724425, 0.21868494, 0.27814686, 0.029519992, 0.024098022, -0.25987455, -0.10620405, 0.29001758) * input_2(0.0, 0.0);
    result += mat4(0.08666383, -0.09955339, 0.17653835, -0.079697594, 0.010758375, 0.027006092, 0.0020015896, 0.033495136, -0.22881971, -0.02185981, 0.0075940746, 0.18540092, -0.08968008, 0.10788547, -0.069037996, 0.02777818) * input_2(0.0, 1.0);
    result += mat4(0.12589641, -0.0070789866, -0.033357512, -0.065361895, 0.11069259, 0.013807632, -0.002789612, 0.02131478, 0.19244188, -0.014116144, 0.052313376, 0.091737404, -0.040504474, -0.004232748, -0.021612674, -0.083744146) * input_2(1.0, -1.0);
    result += mat4(-0.15312085, -0.030517438, -0.01259706, -0.02221736, -0.013670506, 0.031667907, -0.009943179, -0.06462935, -0.20211254, -0.23481163, -0.0018376497, 0.011458864, 0.046686113, 0.02412812, 0.06573116, -0.14123173) * input_2(1.0, 0.0);
    result += mat4(0.035440385, -0.050924335, 0.043874975, 0.062472332, -0.030570175, -0.019913707, -0.007013969, 0.010498918, 0.10091577, 0.062066276, -0.49329466, 0.25296038, -0.06973726, 0.043927327, -0.023349574, -0.18152784) * input_2(1.0, 1.0);
    result += mat4(-0.079946995, 0.56735694, -0.18263303, 0.2794509, -0.15825701, 0.021943897, 0.053097572, 0.040353894, 0.28635344, 0.017330801, -0.0071854163, 0.017877037, -0.56806797, 0.064959705, -0.050857857, -0.003434116) * input_3(-1.0, -1.0);
    result += mat4(-0.19018744, 0.17977244, 0.009789756, -0.089256175, 0.012554558, -0.1688725, -0.008121292, -0.05416651, 0.011157754, -0.044426017, 0.024945773, -0.029860592, 0.039575007, -0.27088925, 0.07952924, 0.15197049) * input_3(-1.0, 0.0);
    result += mat4(0.10527941, 0.056883924, 0.038858663, 0.06936044, 0.025664791, 0.014505964, -0.0049267937, 0.040746927, -0.01028584, -0.02146155, -0.048191924, 0.0057364865, 0.025792602, -0.029631678, -0.030672763, 0.028005756) * input_3(-1.0, 1.0);
    result += mat4(0.16387613, 0.0050658006, -0.12316501, -0.074813046, -0.14217265, -0.03129863, -0.08806986, -0.01065771, 0.033307493, -0.027360262, -0.06287286, -0.04953059, -0.37829667, 0.026875703, -0.11713746, 0.16599701) * input_3(0.0, -1.0);
    result += mat4(-0.022369657, 0.17066519, 0.09986825, 0.13714989, 0.09283094, 0.017343827, 0.028200958, -0.011898439, -0.04035516, -0.07001075, 0.30919638, 0.32808438, 0.40380237, 0.38454717, 0.1244038, -0.2625944) * input_3(0.0, 0.0);
    result += mat4(0.014981074, -0.002238793, -0.007284529, -0.031068321, -0.011782329, -0.054711193, -0.03465394, -0.04083527, 0.025055114, 0.031636406, 0.14121038, 0.051571902, 0.109231785, -0.081909284, -0.08807712, -0.097067684) * input_3(0.0, 1.0);
    result += mat4(0.022035442, -0.025310187, 0.02213481, -0.013521246, -0.122944616, 0.0013290867, 0.063833915, -0.04988151, 0.031008221, 0.055954374, -0.004159573, 0.17594384, -0.024559923, -0.060166758, -0.020980733, -0.07485255) * input_3(1.0, -1.0);
    result += mat4(-0.024375226, -0.015226019, -0.007377673, 0.026172701, 0.09160467, -0.010913034, -0.052540075, -0.003249786, -0.0766804, 0.053240146, 0.00721867, 0.10074155, 0.15974851, -0.02871904, 0.039140288, 0.035888627) * input_3(1.0, 0.0);
    result += mat4(0.045698795, 0.018890768, 0.018689655, 0.015017324, 0.010224461, -0.030832557, -0.015647803, 0.026236651, -0.0008705152, -0.023560865, 0.0037790157, 0.08873634, 0.098762274, -0.018140342, 0.00439408, 0.020186553) * input_3(1.0, 1.0);
    result += vec4(0.027179372, -0.0030575993, 0.008244368, -0.0027776747);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-5)
//!HOOK MAIN
//!BIND conv2d_4_tf
//!BIND conv2d_4_tf1
//!BIND conv2d_4_tf2
//!BIND conv2d_4_tf3
//!SAVE conv2d_5_tf
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_4_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_4_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_4_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_4_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.029725924, 0.028583333, 0.0044466495, -0.046509407, -0.043547127, -0.005923275, -0.043927133, 0.010153449, 0.10313272, 0.06047816, -0.027614469, -0.1520727, -0.028800553, -0.038531564, 0.01685608, 0.054046135) * input_0(-1.0, -1.0);
    result += mat4(0.019758461, -0.014097557, 0.02122952, 0.010099893, 0.0069400133, -0.021977203, 0.048405208, 0.111507565, 0.10320499, 0.053233657, 0.062384788, -0.09544063, -0.06515526, 0.1563659, -0.03243779, -0.013488375) * input_0(-1.0, 0.0);
    result += mat4(0.033682138, -0.11285677, 0.07941804, -0.004041303, -0.034567922, 0.082741246, -0.022572419, -0.040929187, -0.014824761, -0.17516169, -0.06986806, 0.1515165, 0.018484363, -0.062992066, 0.063653566, 0.030476231) * input_0(-1.0, 1.0);
    result += mat4(-0.055986565, 0.0071353973, -0.0106096035, 0.042219505, -0.09948993, -0.011065956, -0.05111278, 0.10480039, -0.009819199, -0.113169186, 0.047026902, 0.096585646, -0.08204087, -0.033718787, -0.12363432, 0.07550236) * input_0(0.0, -1.0);
    result += mat4(0.43632114, -0.17074661, 0.44558597, 0.16871122, 0.15112375, -0.6822746, 0.14367011, 0.069669254, 0.1936231, 0.5492388, 0.2307412, -0.09695749, 0.14096221, 0.24540234, 0.040288035, -0.25927815) * input_0(0.0, 0.0);
    result += mat4(0.21496134, -0.30978113, 0.11640903, 0.1929538, -0.17235991, 0.23599355, 0.021314656, -0.025784474, 0.13243742, -0.4190871, 0.0693779, -0.0783174, 0.1747082, -0.21848522, 0.12565751, 0.09440946) * input_0(0.0, 1.0);
    result += mat4(-0.018055482, 0.00840515, -0.033835966, 0.009124186, 0.058392595, 0.02300678, -0.017806027, -0.10718321, 0.0012798604, -0.029401312, -0.025766164, 0.035063025, -0.023763936, 0.04225621, -0.04475588, 0.06357958) * input_0(1.0, -1.0);
    result += mat4(-0.1015331, 0.06731003, 0.100072384, -0.016557127, 0.05230388, -0.16699268, -0.15031548, -0.2584737, 0.063017495, -0.059567176, 0.052784678, -0.051858697, -0.008386642, 0.00875774, -0.02843074, 0.04061354) * input_0(1.0, 0.0);
    result += mat4(-0.034607925, 0.22756702, -0.09414897, -0.10573911, 0.04243189, -0.1797056, 0.05719433, 0.03269304, -0.039336152, 0.06709477, -0.060696, -0.09391337, -0.061673522, 0.09520667, 0.016834896, -0.0411772) * input_0(1.0, 1.0);
    result += mat4(0.081661835, 0.0047608097, 0.0632432, -0.04309124, -0.017389145, -0.048621867, -0.0063775023, -0.038122345, -0.056320865, -0.044712584, -0.040916216, 0.042021032, 0.06885719, 0.019145926, 0.07712549, -0.018179907) * input_1(-1.0, -1.0);
    result += mat4(0.048849195, 0.055311713, -0.0025802278, -0.011171977, 0.08765142, -0.17293958, -0.054932285, 0.0963802, -0.06406343, 0.110945046, -0.00931134, -0.027224638, 0.024220891, -0.117960095, -0.038501598, -0.013867097) * input_1(-1.0, 0.0);
    result += mat4(0.042876646, -0.12913592, 0.025433576, 0.06996251, -0.076587945, 0.11072196, -0.045568205, -0.0057063806, -0.007688403, 0.00010583895, 0.0056971344, 0.02305765, -0.018035159, 0.115498774, -0.03200974, -0.07912107) * input_1(-1.0, 1.0);
    result += mat4(-0.03158376, -0.29194432, 0.024929905, 0.0942009, -0.050523452, -0.14595772, 0.03788879, 0.115493625, -0.11565621, 0.05810988, -0.09745306, 0.06882965, 0.17666325, -0.0072186934, 0.12602702, -0.10513846) * input_1(0.0, -1.0);
    result += mat4(-0.5065905, 0.46852344, -0.59987885, -0.08668879, 0.31580746, 0.16362935, 0.16437362, -0.049708433, 0.56839836, -0.07096776, 0.755592, 0.13946702, -0.17075741, 0.16210164, -0.070145994, -0.22249417) * input_1(0.0, 0.0);
    result += mat4(0.042935405, -0.092940964, 0.039650105, -0.0723358, -0.06884077, 0.017998595, -0.13393529, -0.10580636, -0.0228288, -0.07306156, -0.029299445, 0.025486192, 0.00567124, 0.0069355234, 0.0037190288, 0.048653703) * input_1(0.0, 1.0);
    result += mat4(0.15144525, -0.019052874, 0.038780887, -0.011101615, 0.047795374, -0.050624833, 0.021220615, -0.048172243, -0.010807661, 0.0017126547, -0.040323492, -0.05398022, -0.09214344, 0.09378897, 0.06350263, 0.11920382) * input_1(1.0, -1.0);
    result += mat4(0.016175719, 0.0060611996, 0.12770121, 0.025378339, -0.11836801, -0.110929735, 0.050979655, -0.052673135, 0.005939396, -0.07216586, -0.030941194, -0.011262281, 0.05589284, 0.09720422, 0.0045683663, 0.061295856) * input_1(1.0, 0.0);
    result += mat4(-0.019928211, 0.03880981, -0.045523826, -0.03017828, -0.022778608, 0.02988218, 0.0017936602, 0.031125735, -0.018139487, -0.19188398, -0.03206877, -0.045010164, -0.030311273, -0.027604885, -0.008703596, 0.044729877) * input_1(1.0, 1.0);
    result += mat4(0.026051275, -0.038556635, -0.0004323694, -0.0031175367, -0.019896474, -0.005065042, -0.026292233, 0.015033842, -0.011243804, -0.020169111, -0.059569433, 0.0045662723, -0.0004207774, 0.062278777, -0.054996215, -0.08145211) * input_2(-1.0, -1.0);
    result += mat4(-0.02816124, 0.07302358, 0.0029961444, -0.055487696, 0.05815509, 0.037320312, 0.04267337, -0.056434963, 0.011819414, 0.010583649, 0.10670781, -0.056066774, 0.1378717, -0.32966012, 0.120323665, 0.20883904) * input_2(-1.0, 0.0);
    result += mat4(-0.0023985489, 0.022427632, -0.101574615, 0.001897974, 0.033731107, -0.0651604, 0.0029378613, 0.049372938, -0.011459819, 0.005615249, -0.017018175, -0.035358433, -0.14277925, 0.20982292, -0.109325305, -0.1237264) * input_2(-1.0, 1.0);
    result += mat4(0.0041401493, 0.091180004, -0.017456755, -0.040005907, 0.08267203, 0.027102996, 0.046160135, -0.11130838, -0.08077166, 0.113673195, -0.057183288, -0.032211084, -0.036935825, 0.023037933, 0.026691968, -0.043678135) * input_2(0.0, -1.0);
    result += mat4(0.3515983, -0.1910668, 0.0053359135, -0.13603806, -0.7092164, 0.8094542, -0.7228298, -0.22079639, 0.25087667, 0.099093005, 0.08344002, 0.55402136, -0.07946615, 0.11443993, 0.08160477, 0.117260955) * input_2(0.0, 0.0);
    result += mat4(-0.0031846361, -0.38878325, 0.031973727, -0.15237361, 0.047022603, -0.08303302, 0.06549824, -0.05569701, 0.017576542, 0.17092742, -0.041966703, -0.09991839, 0.0033350433, 0.0534604, 0.039668266, 0.082014054) * input_2(0.0, 1.0);
    result += mat4(-0.018293357, 0.01041926, 0.08716151, 0.04652376, 5.8925005e-05, -0.0766142, -0.019644206, 0.04787233, 0.016989544, -0.11880588, 0.013683648, -0.09852996, 0.013528906, -0.010055911, 0.01199727, -0.003954249) * input_2(1.0, -1.0);
    result += mat4(-0.051461387, 0.084818214, -0.047712218, -0.16656078, 0.04606935, -0.054081097, 0.03934518, 0.1676722, -0.22451869, 0.15267454, 0.13813968, 0.044101555, 0.0056407973, -0.009586512, -0.025722373, -0.02359098) * input_2(1.0, 0.0);
    result += mat4(-0.03376933, 0.44192162, -0.1341909, 0.18647003, 0.02681158, -0.0365434, 0.017117739, -0.041748546, -0.025999863, -0.028108936, -0.029153327, -0.0104744, -0.001160261, -0.0032795002, 0.015552925, 0.009436163) * input_2(1.0, 1.0);
    result += mat4(0.05108021, 0.037167612, -0.0029945276, -0.01185286, 0.015885266, 0.06157934, 0.004957712, -0.029282518, -0.1029035, 0.05696387, -0.01908687, 0.015476043, -0.044743147, -0.05030854, -0.03704106, 0.10768637) * input_3(-1.0, -1.0);
    result += mat4(-0.02959149, 0.042947367, 0.04161773, -0.101901166, 0.05398731, -0.08845358, 0.029742703, -0.0107873585, -0.055435553, 0.062525764, -0.13323577, 0.081646875, -0.15973017, -0.073157325, -0.042002067, -0.026910149) * input_3(-1.0, 0.0);
    result += mat4(-0.10874374, -0.22755691, 0.039902184, 0.26011625, 0.0035630367, 0.019425415, 0.022673849, -0.00887688, 0.04567228, -0.06353101, 0.0462955, 0.0611866, 0.046452675, 0.007876699, 0.08330436, -0.077221215) * input_3(-1.0, 1.0);
    result += mat4(0.03758974, -0.0502227, -0.020223813, -0.049249087, 0.119619206, 0.11056995, 0.07132427, -0.07542877, -0.013466806, 0.08126256, 0.084663294, -0.016545143, 0.049660843, 0.1032617, 0.03001391, -0.03939266) * input_3(0.0, -1.0);
    result += mat4(0.1718982, 0.37075007, 0.41685244, -0.009514165, -0.27821165, -0.35056198, -0.21745346, 0.0740023, -0.42541403, -0.17413765, -0.36144057, -0.27182907, -0.14602438, -0.3351836, -0.17605326, 0.1379383) * input_3(0.0, 0.0);
    result += mat4(0.31111407, 0.009585242, 0.22856233, 0.1861814, -0.06922496, 0.45210466, -0.19027871, -0.015502168, 0.028368043, -0.050685495, 0.061698597, 0.106649846, -0.016107595, 0.18208116, -0.1561093, 0.048065573) * input_3(0.0, 1.0);
    result += mat4(-0.0024453131, 0.042160146, -0.032804467, -0.015382585, 0.042915564, -0.101181574, -0.028439306, -0.04141385, 0.06369429, -0.06689964, -0.051430628, -0.006457501, 0.03232323, 0.016648559, 0.00821235, -0.047089264) * input_3(1.0, -1.0);
    result += mat4(-0.17711955, -0.039462555, 0.25735942, 0.23794617, -0.23848198, -0.11282952, -0.11581088, 0.06377524, 0.1570141, -0.17174831, -0.22892423, -0.10937658, -0.015863132, -0.0344743, 0.019865615, 0.050966937) * input_3(1.0, 0.0);
    result += mat4(0.27104315, -0.25264886, 0.4801345, -0.036137383, -0.014079707, 0.2967139, 0.006132751, -0.03664659, 0.09115856, 0.04218395, 0.10168091, 0.045441244, 0.034256943, -0.053428404, -0.056027737, 0.016017422) * input_3(1.0, 1.0);
    result += vec4(0.013849405, -0.05661334, 0.010834673, 0.026355939);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-5)
//!HOOK MAIN
//!BIND conv2d_4_tf
//!BIND conv2d_4_tf1
//!BIND conv2d_4_tf2
//!BIND conv2d_4_tf3
//!SAVE conv2d_5_tf1
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_4_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_4_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_4_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_4_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.027611779, 0.034535907, 0.0020567311, -0.043278404, 0.0042366683, -0.04233576, -0.04975332, -0.0006304635, -0.09053048, 0.086003445, 0.06848764, -0.046797305, 0.119849585, -0.052884728, -0.019948857, 0.024900299) * input_0(-1.0, -1.0);
    result += mat4(-0.01857786, -0.045590542, 0.013854883, 0.07621691, 0.07484157, 0.053227663, -0.06249943, -0.056402214, -0.12866385, 0.23807985, -0.11797458, 0.111103386, -0.090588436, -0.06283816, -0.032429602, -0.06319992) * input_0(-1.0, 0.0);
    result += mat4(0.07615795, 0.031288225, -0.09262429, -0.051832285, -0.052257016, -0.009580268, 0.06300541, 0.0014207629, -0.024192302, 0.049280137, -0.07774822, 0.131794, 0.012214957, 0.013992611, 0.0028314418, -0.004478532) * input_0(-1.0, 1.0);
    result += mat4(0.046469722, -0.055175144, -0.0015403808, 0.014273452, -0.16036347, -0.0739542, -0.02347572, 0.04571354, 0.08152634, -0.0009987118, -0.053345196, -0.019262075, 0.13314246, -0.08793323, 0.014879436, -0.08259548) * input_0(0.0, -1.0);
    result += mat4(-0.09438642, 0.11798579, 0.100975774, 0.1908094, 0.259686, -0.2901604, -0.028223215, 0.09349437, -0.12529317, 0.46960017, 0.16970213, -0.1510268, -0.2754284, 0.39862993, 0.19544435, 0.10095481) * input_0(0.0, 0.0);
    result += mat4(-0.004898183, 0.16040276, -0.10494028, 0.14426187, 0.0026207191, -0.0387784, -0.004129096, -0.1978104, 0.062000465, -0.01717718, -0.021347817, 0.109105915, -0.1828753, 0.006156812, -0.008519514, 0.06802441) * input_0(0.0, 1.0);
    result += mat4(-0.0101073105, 0.034983717, 0.026705367, -0.02308574, 0.009855857, 0.048947264, 0.022049125, 0.061505724, 0.04261852, -0.0061307224, -0.019917728, -0.022399005, 0.020920584, -0.048313398, -0.046427324, 0.10434573) * input_0(1.0, -1.0);
    result += mat4(-0.23688357, -0.139986, -0.027623303, 1.3542331e-05, 0.09841749, -0.048025277, 0.036455642, -0.10904287, -0.093067095, 0.028774682, 0.042208433, -0.08984399, -0.00030193667, -0.008530437, 0.025831224, -0.09371019) * input_0(1.0, 0.0);
    result += mat4(0.051788528, -0.30857828, -0.13469951, 0.04022382, -0.029648894, 0.1796896, 0.0894318, -0.03463561, -0.0031739706, -0.11873904, -0.026327847, -0.04065215, 0.057578914, -0.08718865, -0.06968624, 0.0368921) * input_0(1.0, 1.0);
    result += mat4(-0.0783016, 0.077315114, -0.015822496, -0.009317345, -0.054190863, 0.0072244275, -0.12671585, -0.12229694, 0.073870994, -0.050162114, -0.027970921, -0.02406602, -0.0738003, 0.03458477, 0.05666872, 0.03274376) * input_1(-1.0, -1.0);
    result += mat4(-0.11857915, 0.15443899, 0.03508581, 0.05306159, 0.02798628, -0.13613382, -0.022639249, 0.1511034, -0.019937895, -0.03428545, -0.035481807, -0.03230077, 0.10880956, -0.08495149, 0.07923957, -0.01817305) * input_1(-1.0, 0.0);
    result += mat4(-0.015253556, 0.010036277, -0.02992774, 0.04869439, 0.007857766, 0.019140095, 0.08908706, -0.04411545, 0.0047122617, -0.011709081, -0.014159602, 0.01049868, 0.015637754, -0.014453486, -0.009794798, -0.040323403) * input_1(-1.0, 1.0);
    result += mat4(0.2509038, -0.16593991, -0.12482419, -0.10868024, -0.18174791, -0.09863783, -0.046827126, -0.030169262, -0.05432633, -0.06373286, -0.013770597, 0.114991814, 0.1372944, 0.18048342, 0.053746022, 0.1077293) * input_1(0.0, -1.0);
    result += mat4(-0.28055146, -0.09769527, 0.093034446, 0.03099907, 0.30286202, 0.32239884, 0.057123896, 0.2872943, 0.12874563, 0.5067356, -0.048275117, -0.16982898, 0.44313973, -0.008705449, -0.16296537, -0.2607035) * input_1(0.0, 0.0);
    result += mat4(0.06519989, -0.014033928, -0.0044830386, -0.023495106, 0.095870756, 0.025072167, -0.011762695, -0.019334458, -0.07327819, 0.04879689, 0.122707956, 0.07377032, -0.034320075, -0.031209867, -0.032714557, 0.07028214) * input_1(0.0, 1.0);
    result += mat4(-0.061640654, 0.0618226, -0.011250712, 0.017265854, -0.04421837, 0.029881645, 0.047527548, -0.080313586, -0.03585821, 0.002722206, 0.026187617, -0.0125882, -0.16950428, -0.03575415, -0.027502835, -0.03139765) * input_1(1.0, -1.0);
    result += mat4(0.05514342, 0.050769437, -0.023789598, -0.009313997, 0.058852755, 0.0046615307, 0.025061095, -0.07067734, 0.11424463, 0.06594592, 0.041976195, -0.076593086, -0.2266169, -0.008788484, 0.05626498, -0.058174316) * input_1(1.0, 0.0);
    result += mat4(-0.03198895, -0.026010439, 0.02342817, -0.0011324175, 0.012265408, 0.006200065, -0.0066702752, -0.02843012, -0.027907742, 0.05645186, 0.046717178, 0.005049511, -0.081853844, 0.0026177505, 0.046310242, -0.013205774) * input_1(1.0, 1.0);
    result += mat4(0.05181373, -0.059821848, 0.048704505, 0.03509395, 0.0058877766, -0.010477497, 0.034707446, 0.027121741, 0.024546597, -0.015178332, 0.014315662, 0.012396518, -0.02700246, 0.033239406, 0.08824259, 0.04550477) * input_2(-1.0, -1.0);
    result += mat4(-0.011755999, 0.13022998, -0.062235452, 0.015223255, -0.015893817, 0.13854147, 0.013883979, 0.007851822, 0.081276596, 0.085902706, -0.054321315, -0.02327223, 0.025387665, -0.31152797, -0.116394214, 0.11992639) * input_2(-1.0, 0.0);
    result += mat4(0.011528944, 0.04566991, 0.0052211788, 0.030378576, -0.027877288, -0.018179938, 0.026094252, 0.035698313, 0.05358885, -0.061769012, 0.020735778, -0.020089231, 0.07437892, -0.045176856, 0.033552226, -0.113195516) * input_2(-1.0, 1.0);
    result += mat4(0.0051750573, 0.19040327, 0.08488358, 0.036312003, -0.027243212, -0.018975906, -0.03665322, -0.13072257, -0.071473725, -0.017089251, -0.048960816, -0.017088428, -0.14787367, -0.047556434, 0.0019312422, -0.06832934) * input_2(0.0, -1.0);
    result += mat4(-0.16098407, -0.1479053, 0.14456451, -0.0843337, -0.27024814, 0.035836738, 0.06702722, -0.07005443, -0.44995937, 0.07515645, 0.07847315, 0.22956066, -0.007286523, -0.0444112, -0.036452744, 0.17704488) * input_2(0.0, 0.0);
    result += mat4(-0.0123191355, 0.03159384, -0.33306307, 0.2249477, 0.055490654, -0.009862679, 0.05422953, -0.08522664, 0.108858526, -0.031850833, 0.043721672, -0.07749005, -0.021755304, 0.026843969, -0.0009716476, -0.0567063) * input_2(0.0, 1.0);
    result += mat4(-0.075306326, -0.08918182, -0.055771098, -0.12632498, 0.15000036, 0.04786029, -0.002714142, 0.013290577, 0.046153516, -0.05242657, 0.059237503, -0.109141074, 0.025688441, 0.0052882307, 0.00017813046, 0.003526204) * input_2(1.0, -1.0);
    result += mat4(-0.09334647, -0.1643611, -0.02173665, 0.12125626, 0.18012825, 0.11110947, -0.039420158, -0.0039457614, 0.23853375, -0.040639848, -0.1207958, 0.22075585, -0.004664304, -0.00047263346, -0.0010970209, -0.0044813356) * input_2(1.0, 0.0);
    result += mat4(0.14727679, -0.10715481, -0.012013831, 0.04342949, -0.006115671, 0.04574917, 0.0046713655, 0.0070794984, -0.0060614063, -0.016807131, -0.026842553, -0.07161401, -0.0033633772, 0.023258898, 0.005920116, -0.0018930027) * input_2(1.0, 1.0);
    result += mat4(-0.039556395, 0.022407211, 0.048767876, 0.052750435, -0.06251305, 0.052842133, 0.046605345, 0.034448665, -0.04256191, 0.024943857, -0.07462365, -0.065941505, 0.14077945, -0.06698058, 0.05301364, 0.09593298) * input_3(-1.0, -1.0);
    result += mat4(-0.09477956, -0.054719504, 0.10084709, 0.014739451, 0.013783521, -0.06807907, 0.074961275, -0.044219725, -0.08167722, 0.09272134, 0.102501996, 0.17509249, -0.034828745, -0.26564306, 0.00080709934, -0.15816328) * input_3(-1.0, 0.0);
    result += mat4(-0.003332421, 0.0761932, -0.2027257, 0.112779364, 0.010667985, 0.011921544, -0.008319984, 0.0058043464, -0.056768756, -0.001625141, -0.040610943, -0.0030690094, 0.019860787, 0.09751262, -0.0062688794, -0.041487835) * input_3(-1.0, 1.0);
    result += mat4(0.21769021, -0.09755944, 0.037203632, 0.17504486, -0.08093984, 0.14707412, -0.016628748, 0.016365396, -0.39599422, 0.08101458, -0.08754475, -0.2699551, 0.074879706, 0.0340049, 0.019070806, 0.11290511) * input_3(0.0, -1.0);
    result += mat4(-0.32690057, 0.12226554, 0.15528542, 0.33703122, 0.05554669, -0.5617807, -0.05592854, -0.021144895, -0.025402635, -0.2686045, 0.15809761, -0.07038801, -0.005765862, -0.32268485, -0.20791899, -0.18552753) * input_3(0.0, 0.0);
    result += mat4(0.047157127, -0.42842442, -0.42520085, 0.16447823, 0.050811894, -0.08414701, 0.071415596, -0.08989075, -0.09627522, 0.02707055, -0.052057043, 0.07382193, 0.048585452, 0.062225033, 0.08138357, 0.1362262) * input_3(0.0, 1.0);
    result += mat4(0.012772603, 0.0116570825, 0.006070994, 0.09364823, 0.3519841, 0.006160128, -0.00712322, 0.01643047, 0.31639555, 0.08220335, -0.013588545, 0.10841945, 0.040461496, 0.06288046, 0.028162953, 0.03670663) * input_3(1.0, -1.0);
    result += mat4(-0.15548283, -0.26049554, -0.08545104, -0.25128782, -0.22949919, -0.09859123, -0.032759637, 0.1589375, 0.10666499, 0.11884268, -0.005660132, 0.08320317, 0.021365285, 0.018902287, -0.024856295, -0.030509261) * input_3(1.0, 0.0);
    result += mat4(-0.22652051, -0.42715657, -0.16951758, -0.12935026, 0.08365641, -0.21394955, -0.14429234, -0.074281305, 0.05250799, 0.046946842, -0.022375299, 0.032572735, 0.023358107, 0.025446981, 0.025391694, 0.098398164) * input_3(1.0, 1.0);
    result += vec4(-0.021130973, 0.005456944, -0.021747392, -0.00048173845);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-5)
//!HOOK MAIN
//!BIND conv2d_4_tf
//!BIND conv2d_4_tf1
//!BIND conv2d_4_tf2
//!BIND conv2d_4_tf3
//!SAVE conv2d_5_tf2
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_4_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_4_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_4_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_4_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.010644789, -0.01527442, 0.047658414, -0.019637182, -0.010465339, -0.01082255, -0.011307528, -0.0042854575, -0.034006435, -0.09033517, 0.055909857, 0.09340464, 0.047539357, 0.032465655, -0.00891995, -0.06420948) * input_0(-1.0, -1.0);
    result += mat4(0.05736005, 0.06293728, -0.0001387983, -0.049086947, 0.10938868, -0.0073160734, -0.020506594, -0.08109241, 0.0005209595, -0.00094393763, 0.0983215, -0.24376646, 0.035374224, -0.1069609, 0.014463885, -0.056260403) * input_0(-1.0, 0.0);
    result += mat4(-0.021681909, 0.04967954, 0.062208153, -0.042165596, 0.06541624, 0.031460386, -0.10225025, -0.022356236, -0.069579534, -0.08942578, 0.22111063, -0.08542345, 0.015674738, 0.07659883, -0.031788826, -0.018344566) * input_0(-1.0, 1.0);
    result += mat4(0.016295992, 0.005552372, 0.094087735, 0.035271063, 0.027865592, 0.07416643, -0.105990484, 0.03854775, 0.08246801, -0.112069115, -0.068931386, 0.10095022, 0.018247062, 0.05647529, 0.027456773, -0.026608543) * input_0(0.0, -1.0);
    result += mat4(-0.22929657, 0.17904478, -0.061752707, 0.11300884, -0.43319157, -0.39940438, 0.505113, -0.2612328, 0.1651066, 0.3755901, -0.0234319, -0.01504375, 0.002936725, 0.14256704, 0.52638596, -0.44495246) * input_0(0.0, 0.0);
    result += mat4(0.026490659, -0.18729635, 0.20312215, -0.13310114, -0.012160393, 0.19704434, -0.1306798, 0.017129812, 0.002759974, -0.02540427, 0.015303236, -0.0656394, -0.03762635, 0.021009019, 0.084909715, -0.10126484) * input_0(0.0, 1.0);
    result += mat4(-0.016426967, -0.024280675, 0.0151158, -0.0041799294, -0.04109269, -0.0006017849, -0.015338306, -0.09663525, 0.029093303, -0.016327, 0.03547071, -0.06541982, 0.049478058, -0.05806751, -0.08547971, 0.059399042) * input_0(1.0, -1.0);
    result += mat4(-0.06903796, 0.22511512, 0.09403082, 0.085310504, -0.10316353, -0.04349844, 0.04017615, -0.31678683, -0.030956468, 0.08463947, 0.039159372, -0.0973085, -0.047030114, -0.06789892, -0.046678957, 0.1335273) * input_0(1.0, 0.0);
    result += mat4(-0.11021173, 0.179121, 0.014455079, 0.2875286, 0.08974773, -0.097542934, -0.021644164, -0.16007584, -0.06786407, 0.050779488, 0.045287617, 0.026434986, -0.0056444383, 0.09563561, -0.05911464, 0.16423818) * input_0(1.0, 1.0);
    result += mat4(-0.019561712, 0.016754583, -0.035463177, 0.054846264, -0.0045824894, -0.07717948, -0.038917758, 0.024105592, 0.011597085, -0.021352218, 0.057336755, -0.019195588, -0.025567152, 0.011404583, -0.0030248903, 0.0080798045) * input_1(-1.0, -1.0);
    result += mat4(0.002246307, -0.005601477, 0.027977198, -0.023654092, -0.018348504, -0.06680028, -0.04638837, 0.00413159, 0.06453188, -0.0050823633, -0.009498082, -0.086155124, -0.05672683, 0.030686002, -0.024848225, 0.11931908) * input_1(-1.0, 0.0);
    result += mat4(-0.027868075, 0.0075075584, 0.06918149, -0.036171768, 0.017175455, 0.089248314, -0.04209542, 0.07587167, 0.039402463, 0.026248073, -0.039339393, -0.024976196, -0.034840573, -0.040024936, 0.028647134, 0.02792188) * input_1(-1.0, 1.0);
    result += mat4(0.09119803, -0.07562873, -0.29570612, 0.19852792, -0.10691035, -0.019567154, 0.19494402, -0.15426894, 0.008475048, -0.031187406, 0.15379752, -0.10951237, -0.087146774, -0.09722724, -0.09956288, 0.042423293) * input_1(0.0, -1.0);
    result += mat4(0.030522127, -0.14838482, -0.07186018, 0.30528596, 0.072857216, 0.08983888, -0.2600125, 0.12962449, 0.11557395, 0.32216948, -0.017852701, -0.38791665, 0.31769043, 0.04157338, -0.3410074, 0.107696585) * input_1(0.0, 0.0);
    result += mat4(-0.035968717, 0.02253636, -0.022928596, 0.020405557, 0.18744455, -0.069716066, -0.09595064, 0.027226802, -0.0328611, -0.087375976, 0.11755456, -0.16983706, 0.05469368, 0.034026988, 0.041564275, -0.048700567) * input_1(0.0, 1.0);
    result += mat4(0.0747694, 0.0664452, -0.102187954, -0.14322665, 0.002838665, 0.16322146, 0.014343398, -0.13795324, -0.1001938, 0.028174905, 0.11621549, -0.18696953, 0.024680126, 0.04707254, 0.12981515, 0.014887528) * input_1(1.0, -1.0);
    result += mat4(0.09039623, -0.018457836, -0.070854016, 0.11866137, -0.009947882, -0.017154139, 0.07445894, 0.06467964, 0.0065470682, -0.08957044, 0.016405674, 0.00034594085, -0.16447817, 0.12183494, 0.2809059, -0.3101255) * input_1(1.0, 0.0);
    result += mat4(-0.032602318, 0.0021984652, 0.019403, -0.003603407, 0.005745626, 0.017393347, -0.038189292, 0.022018047, 0.038589753, -0.06119002, -0.054672528, -0.13506316, -0.049066596, -0.04967035, 0.13871677, -0.14757548) * input_1(1.0, 1.0);
    result += mat4(0.023913424, 0.030665046, -0.014305386, 0.030364143, -0.019457528, -0.03409611, -0.015172098, 0.040295016, -0.013607568, -0.0036617443, -0.008550297, 0.012631291, -0.024392791, 0.08574201, 0.049214795, 0.0035767134) * input_2(-1.0, -1.0);
    result += mat4(-0.038183704, 0.01343944, -0.015407441, -0.10080363, -0.020986717, -0.010464289, -0.022109179, 0.015976848, 0.055196866, 0.09874522, 0.007954212, -0.059795756, -0.15215608, -0.051480692, 0.11861024, 0.05627509) * input_2(-1.0, 0.0);
    result += mat4(-0.06909607, -0.0015263754, 0.11041545, 0.043516334, -0.026913192, -0.05365791, 0.024155665, 0.0069021196, 0.029605128, -0.022259751, -0.054544833, 0.04198889, 0.058168326, -0.021000376, -0.12933129, 0.08831179) * input_2(-1.0, 1.0);
    result += mat4(-0.05758199, 0.01630314, -0.0070524933, 0.028316623, 0.029423598, 0.023976507, 0.0645041, -0.10890282, 0.07214153, 0.06751291, 0.09580154, -0.09445122, -0.002805438, 0.094348826, 0.0019390193, 0.0872472) * input_2(0.0, -1.0);
    result += mat4(-0.027256466, 0.063804954, 0.26820835, 0.2282286, 0.19836804, -0.071714714, -0.14603151, 0.20554836, -0.023471823, -0.02260606, -0.30085382, 0.035174444, -0.08166195, 0.06407348, 0.22438978, -0.016121367) * input_2(0.0, 0.0);
    result += mat4(0.1610959, 0.24101865, 0.12553744, -0.021074362, -0.037618104, 0.059159357, -0.0804709, 0.025463235, -0.09813413, -0.13439149, 0.083303444, -0.014454228, -0.01693486, -0.013053087, 0.0072106444, -0.043782733) * input_2(0.0, 1.0);
    result += mat4(0.04987567, 0.062011577, 0.030470315, 0.1646059, 0.02795364, -0.14517123, -0.064386435, 0.05867258, -0.068375014, 0.09822205, 0.053603873, 0.03647868, 0.010821594, 0.004387592, -0.024460733, 0.02996932) * input_2(1.0, -1.0);
    result += mat4(-0.23141985, 0.026316699, -0.016575394, 0.120110065, 0.27942818, -0.063810356, -0.30037275, 0.19619629, 0.06172913, -0.08038004, 0.0032989786, 0.5257629, -0.0061132046, -0.014765245, 0.015201041, -0.038916253) * input_2(1.0, 0.0);
    result += mat4(0.039175406, -0.14764698, -0.12260574, 0.45308948, -0.006868432, 0.02237284, 0.009253122, -0.052089877, -0.0034329381, 0.06781523, -0.09283499, -0.012733424, 0.012267297, -0.004424214, -0.009138415, -0.009244616) * input_2(1.0, 1.0);
    result += mat4(-0.023912821, 0.008796585, -0.06824777, 0.011935311, -0.034969043, -0.00088784733, -0.009772577, 0.010452687, 0.029603174, 0.0025333823, 0.0726287, -0.033952236, 0.011941044, 0.08053072, -0.0885341, 0.010570637) * input_3(-1.0, -1.0);
    result += mat4(-0.026207786, 0.20533353, -0.049217436, 0.12817268, -0.046280608, 0.071752384, -0.0005136791, 0.13572986, -0.027733164, 0.00072792533, -0.11593573, 0.053389147, -0.15754986, -0.069233336, 0.27802143, 0.20307831) * input_3(-1.0, 0.0);
    result += mat4(0.04894727, -0.040730678, 0.17174459, -0.18423678, 0.018813077, -0.03675693, -0.01721943, -0.011425645, -0.04475369, -0.058358144, 0.06263652, -0.030575264, 0.05094492, 0.120094664, -0.14045195, 0.026507488) * input_3(-1.0, 1.0);
    result += mat4(0.01562776, -0.046396412, -0.19920743, 0.046170454, 0.049907625, 0.08393781, -0.22379951, 0.005141517, 0.064703286, -0.007874838, 0.09271382, -0.0062095243, -0.071745954, -0.09811518, 0.025768444, -0.047701336) * input_3(0.0, -1.0);
    result += mat4(-0.24493049, 0.4714055, -0.120231256, 0.18171449, -0.19330078, -0.019990366, -0.3366787, 0.3655303, -0.04779902, 0.059347425, 0.03940801, 0.20807295, 0.13468896, -0.029990569, -0.55865765, 0.09230595) * input_3(0.0, 0.0);
    result += mat4(-0.48455957, -0.030713188, 0.46228665, 0.05698214, -0.07469821, -0.31898904, -0.0040763607, 0.16318485, 0.0061985273, 0.08171074, -0.029153395, 0.06380855, -0.067965485, -0.22917238, 0.06448826, 0.15383494) * input_3(0.0, 1.0);
    result += mat4(-0.043358747, 0.009810007, 0.013319005, -0.11140472, 0.11903378, -0.086956404, -0.31309614, 0.31986874, 0.05855063, -0.15187454, -0.18277279, 0.14070927, -0.056924976, -0.07125559, 0.005764067, -0.02526208) * input_3(1.0, -1.0);
    result += mat4(0.0050592734, 0.4707481, 0.32259902, -0.02758104, -0.077697255, -0.20182562, 0.2237024, -0.051708996, 0.29956594, -0.1939123, -0.4842318, 0.031367626, 0.08210942, 0.011480786, -0.08009118, -0.011551816) * input_3(1.0, 0.0);
    result += mat4(-0.29352897, 0.6203037, 0.065412, -0.23114276, -0.15174508, 0.20721777, 0.03812097, 0.15497078, 0.034674034, 0.02787815, -0.005221972, 0.09278551, 0.06414268, -0.09375755, -0.08127833, 0.052703124) * input_3(1.0, 1.0);
    result += vec4(0.030195504, 0.01782539, -0.004514174, -0.025437556);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Conv-5)
//!HOOK MAIN
//!BIND conv2d_4_tf
//!BIND conv2d_4_tf1
//!BIND conv2d_4_tf2
//!BIND conv2d_4_tf3
//!SAVE conv2d_5_tf3
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_4_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_4_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_4_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_4_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.028795466, -0.03282442, 0.025697796, 0.027944954, -0.009027373, 0.02659995, -0.004897974, -0.009762461, 0.043773156, -0.12223476, -0.009765847, 0.05171679, 0.052781936, 0.05828199, 0.01617, 0.0022557685) * input_0(-1.0, -1.0);
    result += mat4(-0.047148272, 0.035010908, -0.0398307, -0.016108949, -0.0036619427, 0.014195666, 0.14315428, -0.052584857, -0.24067898, -0.118568204, 0.13035914, 0.24980842, 0.15517756, 0.06701134, 0.034288544, 0.10909036) * input_0(-1.0, 0.0);
    result += mat4(-0.038475927, -0.10741825, 0.060792513, 0.044820823, 0.056141265, 0.07525791, -0.12363178, 0.038558606, -0.2141266, -0.10228214, 0.13240395, -0.15241237, 0.00395589, -0.023641098, -0.02434283, -0.027805071) * input_0(-1.0, 1.0);
    result += mat4(0.064243846, 0.028820166, -0.019513154, 0.04333946, -0.09669799, 0.053609367, -0.03853134, -0.17483401, 0.04154849, 0.010143174, 0.08396702, 0.041132133, -0.11630862, 0.13608357, 0.009187977, -0.14983408) * input_0(0.0, -1.0);
    result += mat4(-0.14843811, 0.02351713, -0.14943792, -0.16502152, 0.045711394, -0.122371785, -0.0411916, -0.25063282, 0.14901681, -0.277099, -0.03803755, 0.1423408, -0.044369962, -0.17127442, -0.08252283, 0.018340195) * input_0(0.0, 0.0);
    result += mat4(-0.22149065, -0.2071634, 0.26767612, -0.03459767, 0.17971216, 0.03379417, -0.049671773, 0.08501685, -0.18249309, -0.037010185, -0.105470814, -0.121350296, -0.16459587, 0.02194702, 0.0124595, -0.15531783) * input_0(0.0, 1.0);
    result += mat4(-0.021878973, -0.011042295, 0.019801022, 0.036399655, -0.006195309, -0.03818507, -0.023947418, -0.084431574, -0.0413866, 0.038318038, 0.030088443, -0.0583044, 0.050072405, 0.011931548, -0.0046022655, 0.015095055) * input_0(1.0, -1.0);
    result += mat4(0.09432315, -0.0013987529, -0.16912125, -0.06373249, -0.2255977, 0.06992867, -0.009716385, -0.090607114, -0.10673394, 0.049677934, -0.07265424, -0.10830931, 0.0067067523, -0.009756896, 0.042149372, -0.014902152) * input_0(1.0, 0.0);
    result += mat4(0.14007315, 0.058790173, -0.05031217, 0.10019244, -0.11752723, -0.008011116, 0.016862204, -0.073443756, 0.003970228, 0.041269124, -0.048422102, 0.040106595, 0.12642069, -0.019398093, -0.02065792, 0.09377831) * input_0(1.0, 1.0);
    result += mat4(-0.035402555, -0.039474428, -0.005549341, 0.025604105, 0.0039029093, -0.06953011, 0.03544647, 0.00064716587, 0.020421555, 0.02979577, 0.021476047, -0.04829747, -0.012249663, -0.02224312, 0.0007371075, 0.043967705) * input_1(-1.0, -1.0);
    result += mat4(-0.05082388, -0.096556485, 0.062507175, 0.04215946, -0.13254265, 0.26135543, -0.14722429, -0.27056834, 0.050700113, 0.08021204, -0.018273354, 0.1133224, 0.032634858, -0.050105125, -0.058060247, -0.13362701) * input_1(-1.0, 0.0);
    result += mat4(-0.06740747, -0.037946913, 0.039613333, -0.075905986, 0.080798805, -0.020206297, 0.008172328, -0.016026633, -0.025359211, 0.039042708, -0.02109373, -0.029398942, 0.07517146, 0.0034462523, 0.009417215, 0.081032835) * input_1(-1.0, 1.0);
    result += mat4(-0.060722463, 0.16130884, 0.08773572, -0.24114637, -0.039174914, 0.07172501, 0.054287862, -0.0363663, 0.063934624, -0.0047153463, -0.05832478, 0.094426244, 0.003540439, -0.11583979, 0.008443119, 0.06656817) * input_1(0.0, -1.0);
    result += mat4(-0.096260846, 0.2128206, -0.04196104, -0.17098518, 0.15114838, -0.11158992, -0.018298833, 0.06740788, 0.16210315, -0.31341425, 0.14400366, 0.28903612, 0.23907377, -0.102547735, 0.06961272, 0.65582603) * input_1(0.0, 0.0);
    result += mat4(-0.012707425, -0.008246262, -0.06443949, -0.0084497575, -0.021386325, 0.05615816, -0.02434358, 0.108919725, -0.10299009, 0.071830094, -0.07887616, -0.13248757, 0.015384943, 0.043284085, 0.06412309, 0.023318268) * input_1(0.0, 1.0);
    result += mat4(-0.04332912, -0.059769798, 0.005570377, -0.12349214, -0.0745764, -0.010015217, -0.045587238, -0.17760493, -0.08686963, 0.0027144821, -0.014802385, -0.006427426, 0.068369694, -0.0076313913, -0.03102288, 0.112717114) * input_1(1.0, -1.0);
    result += mat4(0.10281801, -0.0013845933, 0.008715708, 0.10293612, -0.06786195, 0.10239935, 0.01230857, 0.17762366, -0.076036185, 0.019564698, 0.061160903, -0.051015202, -0.09040573, -0.072606, -0.020731837, 0.078596525) * input_1(1.0, 0.0);
    result += mat4(-0.018782085, 0.022368621, -0.018209979, -0.018572524, 3.2292915e-05, 0.0048868386, 0.041594975, -0.00057899614, -0.11154998, 0.018057397, -0.047185253, -0.11201404, -0.06379988, -0.025925757, -0.007763757, -0.046306428) * input_1(1.0, 1.0);
    result += mat4(0.028826399, -0.005349106, -0.054085158, -0.011488016, 0.0017447436, 0.0063967626, -0.0229738, -0.013830951, -0.02325103, -0.00021265085, -0.021515425, -0.08014191, -0.0014798571, -0.053445008, -0.085957184, -0.00051792606) * input_2(-1.0, -1.0);
    result += mat4(-0.08398859, -0.08953562, 0.071417384, 0.039730497, 0.008205252, -0.0970272, 0.00962452, 0.10334476, -0.004208799, -0.0963808, -0.0019482434, 0.1425899, -0.10842967, 0.18597391, 0.08944234, -0.253885) * input_2(-1.0, 0.0);
    result += mat4(-0.017237848, -0.042551722, -0.021750638, -0.0547906, -0.031651042, -0.0015498004, 0.062457934, -0.10005831, 0.02600006, 0.042128567, -0.018029321, 0.010791622, 0.106478654, 0.036848824, -0.07782138, 0.13112488) * input_2(-1.0, 1.0);
    result += mat4(-0.12123603, -0.044183876, -0.0310746, 0.040219456, 0.09489909, -0.057605833, 0.039381087, 0.12753545, 0.09672066, -0.03364182, -0.04337716, 0.12664045, 0.012833541, 0.0007226196, -0.065389544, 0.08332602) * input_2(0.0, -1.0);
    result += mat4(-0.07911788, -0.0790298, -0.030180894, -0.24854803, -0.0019446822, 0.19665985, -0.012064872, 0.14999084, -0.29240796, 0.28175104, 0.060235657, -0.36073172, 0.1651623, -0.112158306, 0.063149445, 0.18394268) * input_2(0.0, 0.0);
    result += mat4(-0.23369612, -0.0988208, 0.11631817, 0.20507091, 0.031707063, -0.030648245, -0.12589745, -0.056499947, 0.05584347, -0.0018303668, -0.042083126, 0.08397494, 0.012800974, 0.010385205, 0.041338976, -0.021379111) * input_2(0.0, 1.0);
    result += mat4(0.072167255, 0.03162482, -0.015094321, 0.0012538538, -0.016858824, 0.017030576, 0.095639504, 0.055088036, -0.07716951, 0.052137602, -0.024883125, -0.0034262245, 0.0057392903, 0.0019139722, 0.0039453018, -0.023101382) * input_2(1.0, -1.0);
    result += mat4(0.039228335, -0.0010113843, -0.13038394, 0.15340853, 0.0628498, 0.021974714, 0.11080117, -0.1266502, 0.35015985, 0.0054105115, 0.08652311, 0.27836102, -0.030477064, 0.013560728, -0.0047111483, 0.0075108227) * input_2(1.0, 0.0);
    result += mat4(0.18951297, 0.015510449, 0.12276538, 0.20260115, -0.022307739, 0.02728553, -0.03564656, -0.021240544, -0.029594276, -0.027160786, 0.04489298, -0.038255025, 0.010791514, -0.012538782, 0.004316494, -0.0053298753) * input_2(1.0, 1.0);
    result += mat4(-0.017466173, 0.020460125, -0.014157009, -0.018235559, -0.04102318, 0.0018359609, -0.0057771755, 0.015613332, 0.01211005, -0.022848835, 0.04582478, 0.0621705, -0.0920187, 0.11688426, -0.08164584, -0.08922107) * input_3(-1.0, -1.0);
    result += mat4(-0.14312644, -0.0028037536, -0.17356949, 0.10532579, 0.050168738, -0.058314674, -0.042229325, -0.055721994, -0.14543082, 0.11944411, -0.10256654, -0.100882225, 0.15576717, 0.0010742988, 0.00473202, -0.13175583) * input_3(-1.0, 0.0);
    result += mat4(-0.31951967, -0.27284247, 0.34995717, 0.044937853, -0.002472158, 0.00049767544, 0.042774297, 0.056654617, -0.043680526, -0.07701939, 0.06807618, 0.0081629455, 0.02834582, 0.055765506, -0.031838354, 0.05774544) * input_3(-1.0, 1.0);
    result += mat4(0.07794346, -0.013115486, -0.062792815, 0.008991594, -0.008498326, -0.051955618, 0.054729704, -0.07531521, -0.0041240444, -0.0040358217, 0.15824556, 0.03369429, 0.10007453, -0.053267304, 0.0015234926, 0.18827802) * input_3(0.0, -1.0);
    result += mat4(0.1933917, -0.3352498, -0.39819738, -0.017969918, -0.056189187, 0.17168312, -0.1332888, -0.22067444, 0.048404027, 0.026038542, -0.24950732, -0.14481229, -0.12260713, 0.17454612, 0.004106645, -0.2731137) * input_3(0.0, 0.0);
    result += mat4(-0.00039667988, -0.11992655, 0.23451355, 0.088508956, 0.15897498, 0.03066209, 0.056078754, 0.17418775, 0.00013638797, -0.045374304, 0.061367594, -0.03697291, 0.071149625, 0.031099534, 0.036500137, -0.0527268) * input_3(0.0, 1.0);
    result += mat4(-0.029188368, -0.028768502, -0.039879076, 0.06916131, 0.037428215, 0.05052679, 0.03498495, -0.108684786, -0.005056906, 0.059893478, 0.10737155, -0.19874878, 0.004543411, -0.062581725, 0.024745291, 0.086270444) * input_3(1.0, -1.0);
    result += mat4(0.06770167, 0.14413522, -0.101910844, -0.2032011, -0.042406127, 0.09878215, -0.08896671, -0.052409343, -0.1400318, 0.07243893, -0.10419772, -0.2231387, 0.026539728, -0.017875522, 0.034973226, -0.05368734) * input_3(1.0, 0.0);
    result += mat4(0.030032152, -0.04655832, -0.12719192, -0.22432306, 0.22476828, -0.059053507, 0.067079864, 0.1186023, 0.093060136, -0.024429338, 0.033039715, 0.0987862, -0.02204978, 0.019980617, -0.002141298, -0.041827925) * input_3(1.0, 1.0);
    result += vec4(0.02131203, 0.002194168, 0.028185904, 0.018374868);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Long-Skip-Conv-6)
//!HOOK MAIN
//!BIND conv2d_5_tf
//!BIND conv2d_tf
//!BIND conv2d_5_tf1
//!BIND conv2d_tf1
//!BIND conv2d_5_tf2
//!BIND conv2d_tf2
//!BIND conv2d_5_tf3
//!BIND conv2d_tf3
//!SAVE conv2d_6_tf
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) ((conv2d_5_tf_texOff(vec2(x_off, y_off)))+(conv2d_tf_texOff(vec2(x_off, y_off))))
#define input_1(x_off, y_off) ((conv2d_5_tf1_texOff(vec2(x_off, y_off)))+(conv2d_tf1_texOff(vec2(x_off, y_off))))
#define input_2(x_off, y_off) ((conv2d_5_tf2_texOff(vec2(x_off, y_off)))+(conv2d_tf2_texOff(vec2(x_off, y_off))))
#define input_3(x_off, y_off) ((conv2d_5_tf3_texOff(vec2(x_off, y_off)))+(conv2d_tf3_texOff(vec2(x_off, y_off))))
vec4 hook() {
    vec4 result = mat4(-0.06294162, -0.102505416, -0.06067493, -0.053112652, -0.08105012, -0.17464109, -0.06434616, -0.07088117, 0.073678255, 0.0023210756, 0.06320945, 0.021294292, -0.005721688, -0.05647312, -0.11093402, -0.05045433) * input_0(-1.0, -1.0);
    result += mat4(0.29531872, -0.13276628, 0.09652099, -0.12340744, 0.2380357, 0.061834276, 0.1738655, -0.0027295374, -0.05451776, 0.14045304, 0.111393355, 0.07905991, -0.016357383, -0.021998843, 0.15282133, 0.06783929) * input_0(-1.0, 0.0);
    result += mat4(-0.0031346204, -0.08267808, 0.106960334, -0.12864472, -0.051006343, -0.033731304, 0.058143765, -0.05388876, 0.004789952, 0.07090773, -0.049557798, 0.10226129, 0.0807389, -0.0050399606, -0.046086155, -0.05488393) * input_0(-1.0, 1.0);
    result += mat4(-0.08506875, -0.01678436, -0.06076633, -0.011608646, -0.0365463, 0.16770935, 0.17077532, 0.11969477, -0.07797591, 0.09241865, 0.18610425, 0.20982441, 0.08201214, 0.031744324, 0.07086517, -0.05812769) * input_0(0.0, -1.0);
    result += mat4(0.32266137, 0.7980112, 0.046880938, 0.44143316, -0.63292986, -0.03326559, -0.26551738, 0.18447635, -0.5401805, -0.54632175, -0.6945837, -0.5193484, 0.15542652, 0.15457831, 0.03519541, 0.20611008) * input_0(0.0, 0.0);
    result += mat4(-0.049283065, -0.1795098, 0.050782196, 0.08768562, 0.06089642, 0.0054960283, -0.13955654, -0.009789052, 0.08052473, 0.13546507, -0.118706875, -0.03374408, 0.058792178, 0.11472104, 0.10007379, -0.058044787) * input_0(0.0, 1.0);
    result += mat4(-0.04853838, -0.057118796, -0.09914846, -0.065952055, 0.04359867, -0.08294365, 0.0018925609, 0.022622233, 0.10786877, -0.00951083, 0.09172468, 0.062175784, -0.081348054, 0.009892421, -0.13134381, -0.0021075585) * input_0(1.0, -1.0);
    result += mat4(-0.18681467, 0.087406464, -0.14933574, 0.020855954, 0.14929797, -0.0027318075, 0.09186702, -0.06391944, 0.16770044, -0.022450479, 0.13575147, -0.0152277155, 0.07974944, 0.058957145, 0.11192944, 0.08552572) * input_0(1.0, 0.0);
    result += mat4(0.013176401, 0.026559038, -0.022825306, 0.011244089, 0.05528952, -0.0059461007, 0.037760437, -0.010000092, -0.018884463, 0.011124189, 0.014200031, 0.043569937, -0.012871257, -0.06429715, 0.05184235, -0.07270671) * input_0(1.0, 1.0);
    result += mat4(-0.04946124, -0.06239832, -0.02266011, -0.049692154, 0.1273317, 0.12367764, 0.10306887, 0.020176241, 0.028676223, -0.016766008, 0.012402341, 0.13512431, 0.025292058, -0.008579606, 0.030362602, 0.011919649) * input_1(-1.0, -1.0);
    result += mat4(0.040338807, 0.03488534, 0.07395641, -0.01849513, -0.050288614, -0.15523188, 0.08199896, -0.10786726, 0.036077052, 0.14037365, -0.015708124, 0.13072473, -0.035969123, -0.079240255, 0.006262991, 0.05129589) * input_1(-1.0, 0.0);
    result += mat4(0.03898407, -0.026094582, 0.00010195914, 0.03186055, 0.005923521, -0.020737443, -0.058628984, -0.027090332, -0.014601604, -0.022504022, 0.05877991, 0.13979875, 0.06293755, 0.038147062, 0.06814167, 0.013506066) * input_1(-1.0, 1.0);
    result += mat4(-0.040408902, -0.033489536, 0.070584014, 0.04663336, 0.05151009, -0.042318214, -0.030923374, 0.042654056, 0.066634975, 0.18073136, 0.15197168, 0.070851356, -0.057897605, 0.028090788, -0.22804159, -0.05552981) * input_1(0.0, -1.0);
    result += mat4(-0.17742668, -0.08916815, -0.12007389, -0.019086152, 0.005130928, 0.403721, 0.4093869, 0.41406393, 0.23126374, 0.13600253, 0.1429511, -0.0007150435, -0.24570309, -0.15266314, -0.21194099, -0.34310165) * input_1(0.0, 0.0);
    result += mat4(0.11381558, 0.21340185, -0.06782287, -0.04347989, -0.2040912, 0.03243832, -0.07750925, 0.137827, 0.1202551, 0.019172385, -0.015064647, 0.18678759, 0.10025605, 0.061256897, -0.042415947, 0.039725706) * input_1(0.0, 1.0);
    result += mat4(0.0139796715, 0.008371097, -0.0006677038, 0.06921333, 0.0065320916, 0.006982369, -0.10618803, -0.08790134, -0.0104955295, 0.12776159, 0.10870246, 0.15076366, 0.04603387, -0.022763643, 0.0048115854, -0.08786202) * input_1(1.0, -1.0);
    result += mat4(0.009812169, -0.09803509, -0.019849591, 0.03406139, -0.11549321, -0.13862506, 0.0014619346, -0.0392422, 0.12774706, -0.030719593, -0.06691933, 0.14634095, 0.06918643, -0.03937932, 0.0416799, 0.009590072) * input_1(1.0, 0.0);
    result += mat4(0.098532185, 0.054520544, 0.11089389, -0.059266318, -0.022950757, -0.1029524, 0.0082036, -0.015313326, 0.04290774, 0.16391452, -0.03895607, -0.10033947, -0.009199403, 0.02715756, 0.04436219, -0.039798986) * input_1(1.0, 1.0);
    result += mat4(0.07328849, 0.073164, 0.048755355, 0.09471921, -0.09664505, -0.047439072, -0.010536477, 0.006725474, 0.0090733655, 0.0031094567, 0.040988754, 0.016015276, 0.0026476604, -0.083688736, -0.029200757, -0.046286494) * input_2(-1.0, -1.0);
    result += mat4(-0.03541098, -0.22635059, -0.012459804, -0.08957367, 0.06940931, 0.031627737, -0.088642016, -0.055676807, 0.051575594, 0.0026878535, 0.03712149, -0.053083852, -0.18482256, -0.17841838, 0.1201144, -0.20050584) * input_2(-1.0, 0.0);
    result += mat4(0.018566795, -0.009725014, 0.026804315, -0.052291837, -0.013331098, -0.03541925, 0.028154345, 0.0008311517, 0.030486206, -0.043931946, -0.023080276, 0.04737137, 0.07595912, 0.058400158, -0.1212, 0.042674553) * input_2(-1.0, 1.0);
    result += mat4(-0.032287434, 0.12640189, -0.19112588, -0.055769064, -0.0037471699, -0.013627001, -0.13759056, -0.09900982, -0.1146277, -0.06568049, -0.15617627, -0.012362068, -0.0668876, 0.02123348, -0.13503587, -0.0020043377) * input_2(0.0, -1.0);
    result += mat4(-0.49458754, -0.2238093, -0.2766302, 0.061321087, 0.16481484, 0.2962523, 0.24367762, 0.46518716, 0.12368607, 0.11373127, 0.27069598, -0.06267483, 0.48859546, 0.20890465, 0.5411556, 0.5342777) * input_2(0.0, 0.0);
    result += mat4(0.07542701, -0.026437243, 0.08248414, -0.08229561, 0.012677788, 0.050888475, -0.07635823, 0.06278122, -0.009274294, 0.047312107, 0.0439004, -0.055273507, -0.06935035, 0.023863614, 0.05532818, -0.08573843) * input_2(0.0, 1.0);
    result += mat4(0.0908381, 0.08671779, 0.18848611, 0.09242059, -0.011314916, 0.028591612, -0.05826889, -0.12116107, 0.028099995, -0.00033362635, 0.04097089, -0.0036213996, 0.0045364657, -0.04800852, -0.027697248, -0.120233275) * input_2(1.0, -1.0);
    result += mat4(-0.1283626, -0.05751789, -0.121441446, -0.037293326, 0.0005792268, -0.06518553, -0.0017073781, 0.023733396, -0.24050094, 0.07140337, -0.21357402, 0.059384257, -0.09710768, 0.07774505, -0.061749935, 0.031456806) * input_2(1.0, 0.0);
    result += mat4(0.12189551, 0.048279803, 0.013061408, 0.014736943, 0.048830945, -0.013195954, 0.046418577, -0.09350054, 0.061693996, -0.0044323937, -0.021971231, 0.010182438, -0.038729575, -0.038123004, -0.06958156, 0.0260225) * input_2(1.0, 1.0);
    result += mat4(0.07153125, 0.01695399, 0.025854954, -0.015941251, 0.12734687, 0.06852928, 0.11183469, 0.06138686, -0.09804026, -0.13589564, -0.031833373, 0.030995425, -0.00036298926, 0.009350253, -0.053829245, 0.017376604) * input_3(-1.0, -1.0);
    result += mat4(-0.08394317, -0.14480601, -0.04169629, -0.027229037, -0.0637398, -0.067291856, 0.060066584, -0.16445449, -0.14087716, -0.0820874, -0.14261222, -0.09134479, -0.16385786, -0.008660679, -0.0026694443, -0.070162274) * input_3(-1.0, 0.0);
    result += mat4(0.019736938, 0.0029178346, 0.051410936, 0.0064145788, 0.035854764, -0.06557027, -0.055613197, 0.03129628, -0.054831047, -0.004326719, 0.011675862, 0.061554927, 0.085942, 0.025811944, -0.051930808, 0.0038866645) * input_3(-1.0, 1.0);
    result += mat4(-0.003227866, -0.021167463, 0.19479305, 0.050407473, 0.06701486, 0.06846162, 0.05804237, 0.09638078, -0.112045765, 0.050265003, -0.17805648, -0.042858638, 0.049606137, -0.013448803, -0.11005539, -0.16696584) * input_3(0.0, -1.0);
    result += mat4(0.05425631, -0.046859425, -0.2722694, -0.19226202, -0.14601223, -0.122095905, 0.09615623, 0.030478345, -0.0698217, -0.20093846, -0.14744021, 0.030876756, 0.1441827, 0.07748429, 0.15746719, 0.21213739) * input_3(0.0, 0.0);
    result += mat4(-0.012647828, -0.09853322, 0.24289823, -0.00026129483, -0.044197597, 0.15824512, -0.19945952, -0.08070531, -0.02882515, -0.09848207, -0.08814856, 0.027704488, -0.0031063631, 0.05357254, -0.0024998856, 0.12988877) * input_3(0.0, 1.0);
    result += mat4(-0.089744985, 0.098119915, -0.013987862, 0.14057368, 0.047063585, 0.01449949, -0.07840767, -0.09427311, -0.010098718, -0.030618781, 0.05819327, -0.12716237, 0.015058019, 0.01226358, -0.045018837, -0.07065314) * input_3(1.0, -1.0);
    result += mat4(-0.09710492, 0.06474985, -0.08848478, 0.12101764, -0.02860598, -0.09070139, 0.10509065, 0.092768274, 0.11657215, 0.009727718, -0.09261743, -0.16634026, -0.0057448735, -0.14960164, 0.03681062, -0.033135284) * input_3(1.0, 0.0);
    result += mat4(0.029166322, 0.013618652, -0.038261876, -0.014513218, -0.04721884, 0.0028321615, -0.0313131, -0.073026076, -0.045879666, 0.115391135, -0.1402392, 0.08331445, -0.096098214, 0.020899847, 0.015700972, 0.0025802008) * input_3(1.0, 1.0);
    result += vec4(0.099655576, 0.079505384, 0.090080656, 0.090246625);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Long-Skip-Conv-6)
//!HOOK MAIN
//!BIND conv2d_5_tf
//!BIND conv2d_tf
//!BIND conv2d_5_tf1
//!BIND conv2d_tf1
//!BIND conv2d_5_tf2
//!BIND conv2d_tf2
//!BIND conv2d_5_tf3
//!BIND conv2d_tf3
//!SAVE conv2d_7_tf
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) ((conv2d_5_tf_texOff(vec2(x_off, y_off)))+(conv2d_tf_texOff(vec2(x_off, y_off))))
#define input_1(x_off, y_off) ((conv2d_5_tf1_texOff(vec2(x_off, y_off)))+(conv2d_tf1_texOff(vec2(x_off, y_off))))
#define input_2(x_off, y_off) ((conv2d_5_tf2_texOff(vec2(x_off, y_off)))+(conv2d_tf2_texOff(vec2(x_off, y_off))))
#define input_3(x_off, y_off) ((conv2d_5_tf3_texOff(vec2(x_off, y_off)))+(conv2d_tf3_texOff(vec2(x_off, y_off))))
vec4 hook() {
    vec4 result = mat4(-0.09291352, 0.0134313125, -0.06982579, -0.02337027, -0.06972317, -0.036942136, -0.07452914, 0.016079305, 0.056826603, -0.013690187, 0.063227214, 0.053348422, -0.011826807, -0.014853375, -0.025447834, 0.048537556) * input_0(-1.0, -1.0);
    result += mat4(0.097656846, 0.08967261, -0.0766189, 0.09294101, 0.016782299, -0.16819736, -0.044145267, -0.11414489, -0.044826183, -0.1558149, 0.01850647, -0.14644991, 0.031705033, -0.16050991, 0.03616233, -0.19704062) * input_0(-1.0, 0.0);
    result += mat4(-0.013870298, -0.0062427768, 0.04818369, -0.02242529, -0.034307767, -0.041916125, 0.05162612, -0.07220352, -0.003744277, -0.08056306, -0.032457605, -0.09333476, 0.07295389, 0.027130404, 0.00021972581, -0.010304341) * input_0(-1.0, 1.0);
    result += mat4(0.06093204, -0.019921008, 0.044798005, 0.0357827, 0.12750079, 0.09606114, -0.042962883, -0.13717984, -0.08626329, 0.022236355, 0.0036720159, 0.020184219, -0.0062850774, -0.041545186, 0.05110242, -0.032141685) * input_0(0.0, -1.0);
    result += mat4(0.14613892, 0.42238095, -0.07688474, -0.09917782, -0.01951128, 0.27219272, 0.34052116, 0.2753406, 0.3421921, 0.37887174, 0.04268683, 0.1583738, 0.019032113, 0.01566087, -0.15894918, 0.011483953) * input_0(0.0, 0.0);
    result += mat4(-0.08378792, -0.16417569, 0.0318544, 0.10809961, -0.014131009, -0.13465013, 0.0586014, 0.032890692, 0.028376605, 0.082451336, -0.026676903, 0.03661581, -0.048578177, 0.07069052, 0.009874747, -0.010649419) * input_0(0.0, 1.0);
    result += mat4(0.05819796, 0.035013165, -0.026128825, -0.02984917, -0.017314006, 0.035691816, -0.026783278, -0.021969052, -0.009698516, -0.061397742, 0.015498598, -0.012588556, 0.010900363, 0.03614792, 0.026212903, 0.046782374) * input_0(1.0, -1.0);
    result += mat4(0.0050803274, -0.047005434, 0.042065337, -0.041813683, -0.09703147, -0.0124029, -0.07422425, 0.06969325, 0.00040201945, 0.0035476312, 0.0069491356, 0.05839877, -0.02749462, 0.11536085, -0.06141683, -0.01100945) * input_0(1.0, 0.0);
    result += mat4(0.009511219, -0.03962415, 0.057945892, -0.04718273, -0.007657945, -0.0022666245, -0.044739783, 0.047014482, -0.008508836, 0.024839485, -0.050728958, -0.012161112, 0.010105687, -0.041062612, 0.079850905, 0.06591654) * input_0(1.0, 1.0);
    result += mat4(-0.027043054, 0.0063944855, -0.06402091, -0.005526785, 0.12891944, 0.10113957, 0.062222768, 0.04287694, 0.015290687, -0.05930378, 0.004597133, 0.023922788, -0.021700865, -0.10127905, 0.06118691, -0.031223992) * input_1(-1.0, -1.0);
    result += mat4(-0.09128123, -0.029309211, 0.069099925, -0.012928928, -0.008582147, -0.025579192, 0.06703023, 0.020414416, 0.02137205, 0.050145794, 0.15668999, -0.0012160939, 0.043276366, 0.077580035, -0.047135156, 0.0108466465) * input_1(-1.0, 0.0);
    result += mat4(-0.0097419275, 0.043839045, -0.06648391, 0.06887034, -0.007898276, -0.04670632, -0.035958376, 0.015417117, -0.0102169, 0.053758614, -0.040856183, 0.092647046, -0.028773593, 0.056966897, 0.019958014, 0.054651134) * input_1(-1.0, 1.0);
    result += mat4(-0.0010399456, 0.014859314, -0.0026298761, -0.058714285, -0.0641867, 0.04531848, 0.1897408, 0.18185349, 0.02727863, 0.028006842, -0.011359416, -0.035195656, -0.0574523, -0.011985875, -0.11632561, 0.025527503) * input_1(0.0, -1.0);
    result += mat4(0.0777796, -0.026710637, -0.14280383, 0.11023159, -0.41584203, -0.14720379, -0.3955716, -0.22731122, 0.16048872, 0.22226633, 0.14673974, 0.21431167, 0.04939409, 0.017141769, -0.012097589, -0.20719747) * input_1(0.0, 0.0);
    result += mat4(0.0009062257, -0.10590849, 0.18709186, -0.16616409, 0.022093646, 0.026147375, -0.024699805, -0.029082661, -0.15641801, -0.065422356, -0.07369567, 0.14668496, -0.033899505, -0.08565199, 0.040552862, 0.05703688) * input_1(0.0, 1.0);
    result += mat4(0.008844649, 0.010050428, 0.048718914, 0.09123405, 0.0867701, -0.046972208, 0.056145757, 0.06819584, -0.033810403, 0.05531844, -0.043583214, -0.0015684837, -0.08170198, -0.03116648, -0.056846045, -0.01801308) * input_1(1.0, -1.0);
    result += mat4(0.0001022871, 0.11979291, -0.11486566, -0.08392662, -0.020904101, 0.009737993, -0.048838332, -0.19459595, 0.1749382, 0.0661049, 0.09077483, 0.19575728, -0.020065142, 0.05443251, -0.07350946, 0.009748577) * input_1(1.0, 0.0);
    result += mat4(0.0044550775, 0.030961998, 0.06764835, 0.20302685, -0.03405138, 0.017138952, -0.06290282, 0.02684597, 0.075149946, -0.018918063, 0.1411236, -0.026418345, 0.015332075, -0.0060966844, 0.052237343, 0.025830222) * input_1(1.0, 1.0);
    result += mat4(-0.008513241, -0.028830795, 0.070946895, 0.01548484, -0.07238922, -0.08677754, 0.0015578247, -0.059180155, 0.013736924, -0.013963115, 0.009824221, -0.017533898, -0.0113792615, -0.08438179, -0.0064222342, -0.029424394) * input_2(-1.0, -1.0);
    result += mat4(0.098634, 3.3591212e-05, -0.00803124, 0.005471178, 0.093257606, 0.16539514, -0.012525271, 0.0008003848, 0.106882, 0.013332875, 0.042601824, -0.029896788, -0.033884495, -0.06752164, 0.073613115, -0.10317342) * input_2(-1.0, 0.0);
    result += mat4(-0.059713922, -0.16618429, 0.050548714, -0.09649875, -0.014114496, 0.0378565, -0.007167487, 0.04760669, 0.019188352, -0.13510326, -0.009988709, -0.07317161, 0.017814446, -0.081927516, -0.078403525, -0.051921353) * input_2(-1.0, 1.0);
    result += mat4(-0.0008176178, 0.02340319, -0.06268735, 0.031654634, -0.04085345, -0.057128526, -0.024901928, 0.0020160964, -0.07937267, -0.009182641, -0.111335546, -0.015282262, -0.05111581, 0.0059576207, -0.07309029, 0.008997792) * input_2(0.0, -1.0);
    result += mat4(0.026058994, 0.37361023, 0.21643846, 0.44579616, -0.17230418, -0.12347795, -0.16403666, 0.1501674, 0.042288702, 0.19882938, 0.20530476, -0.007167629, 0.44735214, 0.15930106, 0.41450667, 0.20283599) * input_2(0.0, 0.0);
    result += mat4(0.06414281, -0.004062937, 0.13557026, 0.081356026, -0.057773612, -0.08636286, 0.025359148, -0.03421288, 0.092281625, 0.057332538, 0.02051657, -0.049494363, 0.03493702, 0.10111464, 0.06250007, -0.0074141873) * input_2(0.0, 1.0);
    result += mat4(-0.031947084, 0.03552363, 0.0075263637, 0.021778058, -0.05892559, -0.032333445, -0.05451104, -0.03426032, 0.010740945, 0.022001222, 0.011556166, 0.048091523, -0.029259758, -0.008189861, -0.03735848, -0.04232638) * input_2(1.0, -1.0);
    result += mat4(-0.050461125, -0.05722056, -0.037166126, 0.045173053, 0.044489697, 0.0043954155, -0.0021934335, -0.07705753, -0.10511061, 0.061771438, -0.13297112, 0.013745511, -0.11334179, 0.0046552494, -0.068060994, 0.03796412) * input_2(1.0, 0.0);
    result += mat4(0.012361846, 0.002114993, -0.0028329033, 0.04250547, 0.015170779, -0.034093443, 0.08248758, 0.06936367, -0.0056325383, 0.043105137, -0.044163343, 0.06509989, -0.021419942, 0.024711048, -0.086634435, -0.012531163) * input_2(1.0, 1.0);
    result += mat4(0.064333685, 0.01213037, 0.06831061, 0.024908131, 0.06128901, 0.059066415, 0.03585614, 0.0028977937, -0.10513261, -0.2011509, -0.01957809, -0.12332225, -0.032310486, -0.05340374, -0.025143053, -0.007253974) * input_3(-1.0, -1.0);
    result += mat4(0.04171892, -0.018368216, -0.056950487, -0.04998479, -0.08865477, 0.21092959, -0.037971947, 0.07363165, -0.051951353, 0.0071433275, 0.011557848, -0.00024552763, -0.020548837, 0.09632486, 0.080321155, -0.06036718) * input_3(-1.0, 0.0);
    result += mat4(0.04838361, -0.053418044, 0.118331514, -0.0012352274, -0.00050567224, -0.0009140419, -0.09142808, 0.10402509, -0.054989878, 0.026478345, -0.025288714, 0.08449513, 0.051140968, 0.0964624, -0.079664014, 0.043961484) * input_3(-1.0, 1.0);
    result += mat4(0.005031086, 0.045352105, 0.26196402, 0.1858308, 0.059524283, 0.0134907225, 0.30576152, 0.22886677, -0.04115844, -0.038066156, -0.21801503, -0.03766146, -0.05166971, -0.05959844, 0.0028301158, -0.032241736) * input_3(0.0, -1.0);
    result += mat4(-0.7031248, -0.4695124, -0.7345028, -0.56049395, -0.10991722, -0.39752996, -0.24383757, -0.44228414, -0.20885696, -0.25757748, -0.15265703, -0.21776547, 0.023062188, 0.026576173, -0.063869454, 0.2452403) * input_3(0.0, 0.0);
    result += mat4(0.10100094, 0.16644785, -0.0799556, 0.11741835, -0.023131112, 0.09285387, -0.08102263, -0.18780936, -0.099837676, -0.05221934, -0.056138903, 0.07070946, -0.133565, 0.0471616, -0.14217263, 0.03514943) * input_3(0.0, 1.0);
    result += mat4(0.1103747, 0.06597832, 0.030962314, 0.042926904, 0.08051849, -0.0118643725, 0.0162682, 0.017727321, -0.14718848, -0.044860154, -0.16713575, -0.18205743, 0.0059366995, -0.019254547, 0.0073303576, -0.003287998) * input_3(1.0, -1.0);
    result += mat4(0.2766504, -0.06930607, 0.285728, 0.0458596, 0.16886383, 0.017714217, 0.14628196, -0.06791029, -0.026725437, -0.10004785, 0.00349696, 0.08383752, 0.09809286, -0.04445349, 0.05964787, -0.084975004) * input_3(1.0, 0.0);
    result += mat4(0.035550192, 0.009927664, 0.06319865, -0.12210773, -0.024960367, -0.02332301, 0.030170608, -0.06013298, -0.0054944186, -0.04535961, -0.021064484, -0.08813517, 0.039406147, -0.032045446, 0.11235511, -0.045146212) * input_3(1.0, 1.0);
    result += vec4(0.09017998, 0.058710266, 0.08128445, 0.06658679);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Long-Skip-Conv-6)
//!HOOK MAIN
//!BIND conv2d_5_tf
//!BIND conv2d_tf
//!BIND conv2d_5_tf1
//!BIND conv2d_tf1
//!BIND conv2d_5_tf2
//!BIND conv2d_tf2
//!BIND conv2d_5_tf3
//!BIND conv2d_tf3
//!SAVE conv2d_8_tf
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
#define input_0(x_off, y_off) ((conv2d_5_tf_texOff(vec2(x_off, y_off)))+(conv2d_tf_texOff(vec2(x_off, y_off))))
#define input_1(x_off, y_off) ((conv2d_5_tf1_texOff(vec2(x_off, y_off)))+(conv2d_tf1_texOff(vec2(x_off, y_off))))
#define input_2(x_off, y_off) ((conv2d_5_tf2_texOff(vec2(x_off, y_off)))+(conv2d_tf2_texOff(vec2(x_off, y_off))))
#define input_3(x_off, y_off) ((conv2d_5_tf3_texOff(vec2(x_off, y_off)))+(conv2d_tf3_texOff(vec2(x_off, y_off))))
vec4 hook() {
    vec4 result = mat4(-0.1078451, 0.039100073, -0.041501652, 0.031204369, -0.13220657, -0.002577045, -0.20187575, -0.0928367, 0.046998218, -0.042908352, -0.061137363, -0.07908517, -0.048738535, 0.054130666, 0.039555248, 0.08617942) * input_0(-1.0, -1.0);
    result += mat4(0.025366051, 0.1541563, -0.021451091, 0.15964206, 0.11379946, 0.17021133, -0.014134292, 0.13448745, 0.16913584, -0.07510494, 0.058310997, -0.15513846, 0.036219176, 0.10204276, -0.11539939, 0.049245704) * input_0(-1.0, 0.0);
    result += mat4(-0.02611816, 0.030273808, -0.10326393, -0.009424624, -0.11520699, -0.008181465, -0.06893812, 0.02450068, -0.009029106, -0.020793272, 0.12180024, 0.046502918, 0.050512366, 0.0063129356, 0.054677516, 0.011532312) * input_0(-1.0, 1.0);
    result += mat4(0.0868897, -0.083958276, 0.28621197, 0.18910682, 0.1191218, -0.0325706, 0.14585228, -0.06817627, -0.08404022, 0.021971758, 0.023781462, -0.03845028, -0.049827646, -0.19562373, 0.0040450417, -0.017193096) * input_0(0.0, -1.0);
    result += mat4(-0.2856112, -0.0562967, -0.38937584, -0.486233, -0.22874467, 0.03508049, 0.048951153, -0.13859941, 0.35852608, 0.4940767, -0.03561277, 0.19452518, -0.023355933, -0.26663515, -0.31092134, -0.5851164) * input_0(0.0, 0.0);
    result += mat4(0.076124445, 0.027307821, -0.0064070155, 0.067337096, 0.04956758, -0.027233064, -0.032587875, -0.056835312, -0.0073607345, -0.063632034, -0.010524493, -0.07180581, -0.060999725, 0.050184984, -0.00627262, 0.017432163) * input_0(0.0, 1.0);
    result += mat4(0.08418824, 0.10793122, 0.050677516, 0.08696934, 0.062953606, 0.13925624, 0.045663305, 0.13228476, -0.018569319, -0.035556614, -0.0077063167, 0.03151202, 0.030791976, 0.03791685, 0.0048311204, 0.008148166) * input_0(1.0, -1.0);
    result += mat4(-0.019076206, -0.111723445, 0.030275444, -0.031478636, 0.01140363, -0.06847157, 0.020554535, 0.074195705, -0.024097368, -0.0118800625, -0.106130145, -0.10726145, -0.03477488, -0.012297525, 0.0044107563, -0.030152237) * input_0(1.0, 0.0);
    result += mat4(-0.010328115, -0.024004292, 0.03369675, -0.07433022, 0.025088388, -0.01695701, -0.0028172124, -0.011346893, 0.019349378, 0.034083128, -0.014155457, 0.04745905, 0.004466071, 0.001609681, 0.02805233, 0.0062924875) * input_0(1.0, 1.0);
    result += mat4(-0.019570574, -0.012597346, -0.14529924, -0.088190354, 0.13489488, -0.0087840315, 0.095324956, 0.029310921, 0.08272792, 0.07233367, 0.10240286, 0.12199417, -0.013839619, -0.12781726, -0.038581666, -0.06763949) * input_1(-1.0, -1.0);
    result += mat4(-0.033658143, 0.025418872, 0.20283715, 0.10063066, -0.025490789, -0.22087765, 0.056654662, -0.18586005, 0.057979606, 0.04174061, 0.019567125, -0.04410507, 0.13460016, 0.031116862, 0.21509053, 0.03699367) * input_1(-1.0, 0.0);
    result += mat4(0.05507592, -0.006850834, -0.029119521, 0.015895791, 0.04235123, 0.026498934, 0.08978035, 0.014241307, 0.039925974, -0.10624431, 0.08177414, 0.0041702976, -0.011478757, -0.019624013, -0.069429025, -0.059840817) * input_1(-1.0, 1.0);
    result += mat4(-0.059384752, -0.010128022, -0.090833314, -0.13229977, 0.066184275, 0.26317453, 0.00057127426, 0.099259034, 0.13279378, -0.042087134, 0.1767837, 0.07309711, -0.06262692, 0.07262553, -0.03198764, 0.02405939) * input_1(0.0, -1.0);
    result += mat4(-0.29350188, -0.2523885, -0.2573104, 0.033451, 0.098640904, 0.27105367, 0.08249323, 0.24517979, 0.030441388, 0.104916446, 0.19534595, 0.04030362, 0.30349338, 0.31448948, 0.2982456, 0.3650382) * input_1(0.0, 0.0);
    result += mat4(0.03204592, 0.15838198, 0.021496776, -0.07644877, -0.1975843, -0.16457419, -0.026187232, 0.14087027, 0.03654278, 0.13165793, 0.020396583, 0.08521639, 0.1614131, 0.10410889, 0.13833645, 0.06473946) * input_1(0.0, 1.0);
    result += mat4(0.04545175, 0.014729954, -0.0195334, -0.02854227, -0.010182026, -0.058784354, -0.031055508, -0.007746881, -0.038411252, 0.13448423, -0.0046773255, 0.040163193, -0.05718427, -0.11211883, 0.030468384, 0.045610733) * input_1(1.0, -1.0);
    result += mat4(0.22818908, 0.09611459, 0.22482586, 0.11846008, -0.12785672, 0.0750759, -0.100020885, -0.011127017, 0.10543414, -0.04089845, 0.10632555, 0.18900263, -0.06280617, 0.05211879, -0.086104915, -0.074499644) * input_1(1.0, 0.0);
    result += mat4(0.030545833, -0.06704879, 0.08090279, 0.0068419343, -0.03725246, 0.0010599458, -0.0947849, -0.03858349, 0.10851364, 0.0048273243, 0.10397907, 0.028384294, -0.0046055317, 0.02664479, -0.055583347, -0.020597171) * input_1(1.0, 1.0);
    result += mat4(0.078945264, -0.011581222, 0.10753434, 0.04069066, -0.057584412, -0.117956385, -0.04216196, -0.056279603, 0.027303193, -0.030492257, -0.0107445745, -0.01994727, -0.058649566, -0.0929723, -0.08084497, -0.004472764) * input_2(-1.0, -1.0);
    result += mat4(-0.015706575, -0.05611836, -0.08229138, -0.110491306, 0.15512729, -0.0050783176, 0.021924702, -0.16510221, 0.17154095, -0.01642094, 0.05439511, -0.111005336, 0.02989561, -0.12906441, 0.03424344, -0.20948757) * input_2(-1.0, 0.0);
    result += mat4(-0.044776462, 0.094425984, -0.035497956, 0.094760306, -0.012015051, -0.04696809, 0.034093652, -0.02280384, 0.017493559, 0.020640563, 0.12325473, 0.10607758, 0.06409187, 0.043216627, 0.084228985, 0.05735089) * input_2(-1.0, 1.0);
    result += mat4(0.07639497, 0.14144394, 0.06741703, 0.12353727, -0.11320887, -0.02019466, -0.093136325, -0.09135435, -0.024772111, 0.074723616, -0.025082078, 0.039904255, -0.046859242, -0.0047705737, -0.050427243, -0.084975965) * input_2(0.0, -1.0);
    result += mat4(-0.5322025, -0.18490559, -0.23233205, 0.058069687, -0.016605893, 0.2764154, -0.16101687, 0.29594642, -0.37193564, 0.07705653, -0.066663034, -0.017247733, 0.37889308, 0.24853395, 0.27526665, 0.18549001) * input_2(0.0, 0.0);
    result += mat4(-0.07721357, -0.10094301, -0.09143874, -0.19807772, -0.06850408, 0.02187077, -0.032904677, 0.09822263, -0.1730387, -0.10718767, -0.15555184, 0.0011374634, -0.15554354, -0.14163, -0.008815652, -0.012164104) * input_2(0.0, 1.0);
    result += mat4(-0.03319311, 0.03236009, -0.07835878, -0.06417467, -0.04140519, -0.105086125, 0.04315545, 0.02276528, 0.015938008, -0.019982893, -0.03677437, -0.042331237, 0.0004447518, -0.0354653, 0.030529343, 0.019161467) * input_2(1.0, -1.0);
    result += mat4(0.17654614, -0.014539857, 0.1622771, 0.060759466, 0.06133341, 0.059885554, 0.05805301, -0.06265557, 0.10278018, 0.039149728, 0.06904439, 0.04710733, -0.08203017, 0.037567984, -0.08752803, -0.008086541) * input_2(1.0, 0.0);
    result += mat4(0.068284035, -0.06801206, 0.17121819, 0.058351763, 0.05020949, -0.027104009, 0.04274827, -0.0056594154, -0.012030898, -0.0954333, 0.09846536, 0.014254227, -0.014349697, -0.012619074, -0.015559514, 0.02091001) * input_2(1.0, 1.0);
    result += mat4(0.0016283595, -0.03425573, 0.046806052, 0.026256807, 0.10144282, -0.04238811, 0.054840527, 0.01626963, -0.11031426, -0.13295057, -0.09306066, -0.059553172, 0.015188944, -0.030441929, 0.020066064, 0.042314682) * input_3(-1.0, -1.0);
    result += mat4(0.014048348, 0.02139649, -0.018778982, -0.012337029, -0.012080212, -0.18841688, -0.0040694363, -0.30772534, -0.011182665, -0.047042266, -0.08457133, -0.14160144, -0.010350094, -0.05579023, 0.045985106, -0.13013585) * input_3(-1.0, 0.0);
    result += mat4(-0.017476464, 0.027811145, -0.0116095245, 0.032931063, 0.08423587, -0.035531364, 0.15938056, 0.051934365, -0.030706523, -0.09471715, 0.0462986, 0.0104302075, 0.13830534, -0.057686098, 0.10147543, -0.07036392) * input_3(-1.0, 1.0);
    result += mat4(0.08282869, 0.0365933, -0.03732726, -0.038169973, 0.25595585, 0.2637102, 0.49806327, 0.37299013, -0.10735587, -0.13935785, 0.002066376, -0.042919543, -0.0649517, -0.05287515, 0.063512385, 0.02813648) * input_3(0.0, -1.0);
    result += mat4(0.0038532307, 0.082429335, 0.16275619, 0.13568625, -0.1674013, -0.17409658, -0.28036252, -0.21539381, -0.09450654, -0.04758897, -0.15496264, -0.21978985, -0.19129206, -0.21364576, -0.30294347, 0.0522597) * input_3(0.0, 0.0);
    result += mat4(-0.040815838, -0.06156136, -0.010926272, 0.055963, -0.04903029, -0.0013615992, -0.058389038, -0.015048757, 0.014280223, 0.019111887, 0.07866851, 0.019050514, 0.10333583, 0.13562159, 0.045587778, 0.1328211) * input_3(0.0, 1.0);
    result += mat4(0.028509073, 0.1141943, -0.0383197, -0.07789414, -0.028538313, 0.09814199, 0.025674678, 0.14688244, -0.11030336, -0.1409467, 0.08256858, 0.067649536, 0.018583352, 0.018273419, 0.035364278, 0.020786794) * input_3(1.0, -1.0);
    result += mat4(0.024354704, -0.13393086, 0.042486306, 0.042616308, -0.26493797, -0.05252472, -0.26180974, -0.10381202, 0.013716068, -0.07482298, -0.0033794797, -0.08994217, 0.0042474368, 0.050070845, 0.007919513, -0.016470326) * input_3(1.0, 0.0);
    result += mat4(-0.0047615157, -0.0013497319, 0.04128098, -0.03429651, 0.0020451054, 0.04851604, -0.0677892, -0.046582285, 0.026783263, -0.011939008, -0.03685906, 0.027122049, -0.013436181, 0.075618304, -0.043723542, 0.0043776412) * input_3(1.0, 1.0);
    result += vec4(0.09835793, 0.074768655, 0.070545726, 0.058990374);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_RGB] (Pixel-Shuffle)
//!HOOK MAIN
//!BIND conv2d_6_tf
//!BIND conv2d_7_tf
//!BIND conv2d_8_tf
//!WIDTH MAIN.w 2 *
//!HEIGHT MAIN.h 2 *
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w 1.200 * > OUTPUT.h MAIN.h 1.200 * > *
vec4 hook() {
    vec4 output_pix = vec4(0.0, 0.0, 0.0, 1.0);
    vec2 f0 = fract(conv2d_6_tf_pos * conv2d_6_tf_size);
    ivec2 i0 = ivec2(f0 * vec2(2.0));
    output_pix.x = conv2d_6_tf_tex((vec2(0.5) - f0) * conv2d_6_tf_pt + conv2d_6_tf_pos)[i0.y * 2 + i0.x];
    output_pix.y = conv2d_7_tf_tex((vec2(0.5) - f0) * conv2d_7_tf_pt + conv2d_7_tf_pos)[i0.y * 2 + i0.x];
    output_pix.z = conv2d_8_tf_tex((vec2(0.5) - f0) * conv2d_8_tf_pt + conv2d_8_tf_pos)[i0.y * 2 + i0.x];
    return clamp(output_pix, 0.0, 1.0);
}
